[Dovecot] 1.0.beta6 released

Timo Sirainen tss at iki.fi
Thu Apr 13 03:56:37 EEST 2006


On Apr 13, 2006, at 2:42 AM, Ken A wrote:

> # Keep the mailbox locked for the entire POP3 session.
> pop3_lock_session = yes
>
> This doesn't seem to work yet. (linux, dovecot beta 7 with default  
> locking)

Looks like I forgot one part of the code:

Index: src/master/mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.88
diff -u -r1.88 mail-process.c
--- src/master/mail-process.c   12 Apr 2006 19:40:23 -0000      1.88
+++ src/master/mail-process.c   13 Apr 2006 00:54:28 -0000
@@ -241,6 +241,8 @@
                 env_put("POP3_REUSE_XUIDL=1");
         if (set->pop3_enable_last)
                 env_put("POP3_ENABLE_LAST=1");
+       if (set->pop3_lock_session)
+               env_put("POP3_LOCK_SESSION=1");
         if (set->mbox_dirty_syncs)
                 env_put("MBOX_DIRTY_SYNCS=1");
         if (set->mbox_very_dirty_syncs)

> I can telnet to the server, login and then hit it with a normal  
> pop3 client and I'm still able to download mail. I'd expect to see  
> an error message "Mailbox locked, Is another session active?"

Currently it just waits a couple of minutes for the lock and then  
gives some error message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060413/9d795190/PGP.pgp


More information about the dovecot mailing list