Bernhard Schmidt
2010-Mar-12 12:55 UTC
[Dovecot] Dovecot 2.0beta3 LMTP hanging when delivering into a non-existing mailbox
Hi, another LMTP problem. When a sieve userscript tries to fileinto a nonexisting mailbox the LMTP process hangs. Mar 12 12:55:28 mail dovecot: lmtp(1328, berni at vmail.mail.mucip.net): kPpuOKArmkswBQAA/GZUZg: sieve: msgid=<201003111751.o2BHpTbX069309 at squid-cache.org>: failed to store into mailbox 'squidbugs': Mailbox doesn't exist: squidbugs after that I cannot get a LMTP connection anymore (TCP connect works, but I don't see a server banner) until I send SIGKILL to the running lmtp process. SIGTERM is not enough. strace looks like this: gettimeofday({1268394998, 961094}, NULL) = 0 stat("/var/cache/dovecot/b/berni/.squidbugs", 0x7fff202e5040) = -1 ENOENT (No such file or directory) stat("/var/mail/vmail/b/berni/.squidbugs", 0x7fff202e5000) = -1 ENOENT (No such file or directory) stat("/var/mail/vmail/b/berni", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat("/var/mail/vmail/b/berni/.squidbugs", 0x7fff202e5000) = -1 ENOENT (No such file or directory) stat("/var/mail/vmail/b/berni", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat("/var/mail/vmail/b/berni/.squidbugs/tmp", 0x7fff202e5070) = -1 ENOENT (No such file or directory) stat("/var/mail/vmail/b/berni/.squidbugs", 0x7fff202e5120) = -1 ENOENT (No such file or directory) write(2, "\1\0041337 llrFJeUrmks5BQAA/GZUZg: s"..., 166) = 166 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({86400, 0}, I'm on 10869:bf978f2de0fd. Bernhard
Timo Sirainen
2010-Mar-16 14:25 UTC
[Dovecot] Dovecot 2.0beta3 LMTP hanging when delivering into a non-existing mailbox
On Fri, 2010-03-12 at 12:55 +0000, Bernhard Schmidt wrote:> another LMTP problem. When a sieve userscript tries to fileinto a > nonexisting mailbox the LMTP process hangs...> nanosleep({86400, 0}, > > I'm on 10869:bf978f2de0fd.It was fixed by the next changeset: http://hg.dovecot.org/dovecot-2.0/rev/6d260794f278 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100316/1cea9643/attachment-0002.bin>
Bernhard Schmidt
2010-Mar-16 20:40 UTC
[Dovecot] Dovecot 2.0beta3 LMTP hanging when delivering into a non-existing mailbox
Timo Sirainen <tss at iki.fi> wrote: Hi Timo,>> another LMTP problem. When a sieve userscript tries to fileinto a >> nonexisting mailbox the LMTP process hangs. >> I'm on 10869:bf978f2de0fd. > It was fixed by the next changeset: > http://hg.dovecot.org/dovecot-2.0/rev/6d260794f278Ah right, did not use that before because of the IPv6 listening problem. Thanks. bernhard