[Dovecot] imap locking spool?
ssilva at sgvwater.com
Wed Mar 4 01:15:35 EET 2009
on 3-3-2009 2:55 PM Mark Hedges spake the following:
> On Tue, 3 Mar 2009, Timo Sirainen wrote:
>>>>> How does IMAP lock the /var/spool/mail/user file?
>>>> mbox_read_locks and mbox_write_locks defines it.
>>> mbox_read_locks = fcntl
>>> mbox_write_locks = dotlock fcntl
>>> Unfortunately openwebmail only respects dotlocks. (or
>>> flock, but procmail doesn't use flock, or doesn't say it
>> You can change those settings. For example:
>> mbox_read_locks = flock
>> mbox_write_locks = dotlock flock
>> Now Dovecot is compatible with openwebmail. And with
>> procmail both are still protected by the dotlock.
> No, openwebmail only has the choice of either dotlock or
> flock, but not both. So in this case, procmail could
> deliver using dotlock but openwebmail wouldn't know because
> it's only watching for flock. Welcome to my hell!
You could use dovecot's deliver and then you won't need to worry about
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20090303/9704a496/attachment-0001.bin
More information about the dovecot