Mark Zealey
2012-Feb-11 14:33 UTC
[Dovecot] Passdb disconnected unexpectedly when trying to do Director with LMTP
Hi there, I'm running Dovecot 2.0.16 just set up the director with cut&paste from the wiki. It's working & running fine for pop/imap connections (as verified by doveadm director status user), however when I specify 'RCPT TO' for a (tcp) lmtp connection straight away I get: 451 4.3.0 <xxx at yyy.com> Temporary user lookup failure and in the logs: 2012-02-11T14:22:54+00:00 xxx dovecot: lmtp(27997): Error: passdb lookup(xxx at yyy.com): Disconnected unexpectedly I'm sure this is an obvious issue for someone who's come across it before. The /var/run/dovecot/director-userdb socket is on the system; exactly the same permissions as the standard auth-userdb Here are the relevant bits of my config (I'm setting lmtp to listen on a different port than normal). Backend password database is mysql if that makes any difference. lmtp_proxy = yes service lmtp { inet_listener lmtp_test { port = 2450 } } protocol lmtp { auth_socket_path = director-userdb } Thanks, Mark
Timo Sirainen
2012-Feb-12 03:39 UTC
[Dovecot] Passdb disconnected unexpectedly when trying to do Director with LMTP
On 11.2.2012, at 16.33, Mark Zealey wrote:> I'm running Dovecot 2.0.16 just set up the director with cut&paste from the wiki. It's working & running fine for pop/imap connections (as verified by doveadm director status user), however when I specify 'RCPT TO' for a (tcp) lmtp connection straight away I get: > > 451 4.3.0 <xxx at yyy.com> Temporary user lookup failure > > and in the logs: > 2012-02-11T14:22:54+00:00 xxx dovecot: lmtp(27997): Error: passdb lookup(xxx at yyy.com): Disconnected unexpectedlyAren't there any other errors logged? I think there should be some error logged from either auth or director process. Although director is missing one error, but auth should have also logged an error in that case. Anyway, fixed by http://hg.dovecot.org/dovecot-2.1/rev/9b70d164e974