[Dovecot] Dovecot 2.0beta3 LMTP hanging when delivering into a non-existing mailbox

Bernhard Schmidt berni at birkenwald.de
Fri Mar 12 14:55:16 EET 2010


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



More information about the dovecot mailing list