[Dovecot] ldap idle connection timeout in DoveCot 1.0.13?

Timo Sirainen tss at iki.fi
Wed Apr 11 19:36:30 EEST 2012


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.




More information about the dovecot mailing list