[Dovecot] pop3_lock_session question

Timo Sirainen tss at iki.fi
Wed Feb 4 20:25:21 EET 2009


On Wed, 2009-02-04 at 11:17 -0700, Mark Costlow wrote:
> Hello, I'm preparing to convert from qpopper + UW-IMAP to dovecot.
> So far testing has gone very well.  One problem we haven't figured
> out is that long-running POP sessions keep the mailbox locked, so that
> the MDA times out while trying to deliver.  We're using "maildrop" as
> our MDA if that matters.
..
> We though this setting would address the issue:
> 
>   # Keep the mailbox locked for the entire POP3 session.
>   pop3_lock_session = no
> 
> But it doesn't seem to.
> 
> Any ideas?

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).

-------------- 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/158deca7/attachment.bin 


More information about the dovecot mailing list