[Dovecot] How Dovecot handles email changed by file operations
Timo Sirainen
tss at iki.fi
Tue Oct 10 19:09:08 UTC 2006
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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061010/501a6d3b/attachment.pgp
More information about the dovecot
mailing list