[Dovecot] imap locking spool?

Timo Sirainen tss at iki.fi
Wed Mar 4 21:49:52 EET 2009


On Wed, 2009-03-04 at 11:23 -0800, Mark Hedges wrote:
> On Tue, 3 Mar 2009, Timo Sirainen wrote:
> > If you set mbox_read_locks=dotlock, it should get created
> > whenever Dovecot is reading the mbox file. But it's
> > created ONLY during those times. For example opening a
> > mailbox whose index files are up-to-date doesn't cause
> > dotlock to be created. And when the mbox is actually being
> > read, the dotlock is deleted immediately after the IMAP
> > command is finished.
> >
> > Does openwebmail create longer existing locks?
> 
> *sigh*.  No.  It releases the locks as soon as it reads.
> (The CGI process ends.)  So if my script accesses by IMAP,
> which also releases the locks, openwebmail can change the
> folder in the meantime, regardless of what lock mechanism I
> use.

Is it a problem if it does? As long as locking works, there shouldn't be
problems regardless of who modifies the mailbox and how/when.
-------------- 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/20090304/0be9baca/attachment.bin 


More information about the dovecot mailing list