Hi, I'm onboard Debian Lenny (amd64) and just reverted from 2.0.2-0~auto+4 back to 2.0.1-0~auto+1 because LMTP stopped working completly with the above Package. In my setup delivery is done from exim via LMTP to dovecot (Maildir/ext3). The lmtp dovecot config looks like this:> service lmtp { > user = vmail > inet_listener lmtp { > address = 127.0.0.1 > port = 24 > } > > unix_listener lmtp { > } > }> protocol lmtp { > hostname = [...].de > mail_plugins = sieve quota listescape > postmaster_address = postmaster@[...].de > }With the new version I get no LMTP log message at all from dovecot and Exim fails with:> LMTP timeout after initial connectionWhen I do "/etc/init.d/dovecot stop" some process remain alive and I ultimately have to SIGKILL the lmtp process to get rid of it.> trench:/tmp# ps auwx |grep dovecot > root 2643 0.0 0.0 8224 768 pts/1 R+ 22:50 0:00 grep dovecot > root 31778 0.0 0.0 12384 684 pts/2 S+ 22:36 0:00 tail -f > /var/log/mail/dovecot.log > dovecot 32368 0.0 0.0 12656 996 ? S 22:40 0:00 dovecot/anvil > root 32369 0.0 0.0 12788 1124 ? S 22:40 0:00 dovecot/log > root 32371 0.0 0.0 20148 4404 ? S 22:40 0:00 > dovecot/config > vmail 32764 99.9 0.0 36400 2612 ? R 22:40 10:08 dovecot/lmtp> trench:/tmp# kill 32368 > trench:/tmp# kill 32369 > trench:/tmp# ps auwx |grep dovecot > root 2689 0.0 0.0 8224 768 pts/1 R+ 22:50 0:00 grep dovecot > root 31778 0.0 0.0 12384 684 pts/2 S+ 22:36 0:00 tail -f > /var/log/mail/dovecot.log > root 32371 0.0 0.0 20148 4404 ? S 22:40 0:00 > dovecot/config > vmail 32764 99.8 0.0 36400 2612 ? R 22:40 10:20 dovecot/lmtp> trench:/tmp# ps auwx |grep dovecot > root 2692 0.0 0.0 8224 764 pts/1 R+ 22:50 0:00 grep dovecot > root 31778 0.0 0.0 12384 684 pts/2 S+ 22:36 0:00 tail -f > /var/log/mail/dovecot.log > root 32371 0.0 0.0 20148 4404 ? S 22:40 0:00 > dovecot/config > vmail 32764 99.9 0.0 36400 2612 ? R 22:40 10:28 dovecot/lmtp> trench:/tmp# kill 32764 > trench:/tmp# ps auwx |grep dovecot > root 2700 0.0 0.0 8224 768 pts/1 R+ 22:50 0:00 grep dovecot > root 31778 0.0 0.0 12384 684 pts/2 S+ 22:36 0:00 tail -f > /var/log/mail/dovecot.log > root 32371 0.0 0.0 20148 4404 ? S 22:40 0:00 > dovecot/config > vmail 32764 99.9 0.0 36400 2612 ? R 22:40 10:41 dovecot/lmtp> trench:/tmp# kill -9 32764 > trench:/tmp# ps auwx |grep dovecot > root 2830 0.0 0.0 8224 768 pts/1 R+ 22:51 0:00 grep dovecot > root 31778 0.0 0.0 12384 684 pts/2 S+ 22:36 0:00 tail -f > /var/log/mail/dovecot.logThe older version works without any problems for me. Any ideas whats the Problem? Could there be a regression from the LMTP fixes introduced in 2.0.2? Cheers, Fabian Ruff
On Thu, 2010-09-09 at 22:15 +0000, Fabian Ruff wrote:> > vmail 32764 99.9 0.0 36400 2612 ? R 22:40 10:08 dovecot/lmtpIt's looping somewhere forever. It would be useful to know where. Could you try upgrading again and when it gets back to looping forever, show the results of: strace -tt -p `pidof lmtp` Does it print anything? If it does, show the first 20 lines or something. Also, and probably more importantly: gdb -p `pidof lmtp` bt full Unfortunately your binaries are probably stripped so it probably shows only function names, but that's better than nothing.> Could there be a regression from the LMTP fixes introduced in 2.0.2?There is only a single LMTP related change in v2.0.2, and I doubt that's the cause: http://hg.dovecot.org/dovecot-2.0/rev/7fef89fea00e