[Dovecot] 1.0-test21

Timo Sirainen tss at iki.fi
Tue Jun 22 15:35:06 EEST 2004


On 22.6.2004, at 14:07, Tom Allison wrote:

> I get to ask a dumb question:
> Can you put a filelock on the mail files while you are handling them 
> to ensure that no one else is messing with them?

mbox locks the mailbox when reading/writing, maildir doesn't.

> I guess the question is then, if you have N emails in folder, then how 
> do you ensure that the other N-1 emails didn't get messed with, or 
> that there aren't now N+m emails in the maildir...

With maildir there's no locks, so mails can come and go anytime. 
Dovecot handles it well.
-------------- 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/20040622/c94a0b26/attachment-0001.bin>


More information about the dovecot mailing list