[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@vmail.mail.mucip.net): kPpuOKArmkswBQAA/GZUZg: sieve: msgid=<201003111751.o2BHpTbX069309@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
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
Timo Sirainen <tss@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/6d260794f278
Ah right, did not use that before because of the IPv6 listening problem. Thanks.
bernhard
participants (2)
-
Bernhard Schmidt
-
Timo Sirainen