[Dovecot] pop3_lock_session question

Timo Sirainen tss at iki.fi
Wed Feb 4 21:10:37 EET 2009


On Wed, 2009-02-04 at 12:07 -0700, Mark Costlow wrote:
> > Switch to Maildir and the problem goes away. The issue is that the mbox
> > file is read-locked when the first message is read. And since the POP3
> > client most likely just keeps reading messages for the entire session,
> > the mbox file kept read-locked all the time. Can't really be fixed
> > without some larger redesign (which is really not worth it).
> 
> Point taken.
> 
> Does this mean that pop3_lock_session is a NO-OP?  Or does it have
> other implications?

It write-locks the mailbox, so two POP3 sessions can't access it at the
same time.

-------------- 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/20090204/e6ec059c/attachment.bin 


More information about the dovecot mailing list