On 10.10.2006, at 20.20, Craig Jackson wrote:
Question: If email files are moved between IMAP folders (on the same IMAP server or a different one) or deleted using shell scripts, how
does this impact Dovecot's indexes or its method of keeping track of the email? How likely is index or file corruption or race condition? An example, is the centralized removal of mail in all users' Junk folder older than 30 days.
Works just fine. Well, there is a very small possibility of readdir()
syscall skipping some files if they're being moved exactly at the
same time, which causes the mails to get temporarily lost, then in
the next sync a couple of error messages will be written to Dovecot's
logs and then they show up again. Courier has the exact same problem,
but it just handles it silently (and worse than Dovecot by reusing
UIDs that were already told to be expunged to clients).