Aliet Santiesteban Sifontes
2010-Nov-17 00:48 UTC
[Dovecot] Dovecot ldap connection reconnecting after inactivity
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,172.29.13.26): 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?? Best regards
Timo Sirainen
2010-Nov-17 17:57 UTC
[Dovecot] Dovecot ldap connection reconnecting after inactivity
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,172.29.13.26): > 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.