[Dovecot] Dovecot ldap connection reconnecting after inactivity

Timo Sirainen tss at iki.fi
Wed Nov 17 19:57:41 EET 2010

On Tue, 2010-11-16 at 20:48 -0400, Aliet Santiesteban Sifontes wrote:
> Hi people, I have a setup configured using ldap, I have noticed that after a
> period of user inactivity if a client open connections to dovecot first
> attemps fails with this:
> Nov 16 19:34:43 cl05-02 dovecot: auth: Error:
> ldap(user at xxx.xx.xx,
> Connection appears to be hanging, reconnecting
> After the connections to ldap has been restablished everything starts
> working ok, is this a expected behavior or I'm missing something??

You have a firewall or something that drops the connection after it has
been idling for a while. And when Dovecot continues trying to send
another LDAP request, it simply drops the packets instead of even
bothering to reject them. Not good.

More information about the dovecot mailing list