[Dovecot] imap locking spool?
Timo Sirainen
tss at iki.fi
Wed Mar 4 00:29:59 EET 2009
On Tue, 2009-03-03 at 14:20 -0800, Mark Hedges wrote:
> On Tue, 3 Mar 2009, Timo Sirainen wrote:
>
> > On Tue, 2009-03-03 at 13:54 -0800, Mark Hedges 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
> does.)
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090303/7b4d4a97/attachment.bin
More information about the dovecot
mailing list