11 Apr
2012
11 Apr
'12
7:36 p.m.
On 11.4.2012, at 17.49, Zhou, Yan wrote:
We are using DoveCot 1.0.13, it connects to LDAP server for authentication. It seems that DoveCot keeps the idle LDAP connection open.
Yes.
Our firewall is terminating these connections after some time of idle activity (2 hours), then, we run into authentication problem. If we restart either LDAP or DoveCot, then it is fine.
Can we set some kind of LDAP idle connection timeout in DoveCot? /etc/dovecot-ldap.conf. I do not see any configuration available for 1.0.13.
No. But if you upgrade to a newer Dovecot (v2.x probably) this is solved by automatic transparent reconnection.