Disable LDAP persistent connections

Quanah Gibson-Mount quanah at zimbra.com
Thu Aug 25 20:12:18 CEST 2011


--On Thursday, August 25, 2011 10:52 AM -0300 Diego Woitasen 
<diego at woitasen.com.ar> wrote:

> I'm reporting the issue here because I haven't found a bugzilla o
> something like that. I think that Amavis should have a flag to disable
> LDAP persistent connections. When there is a firewall between LDAP and
> Amavis sometimes the search fails because the timeout that some
> firewalls implement in TCP connections. This cause mail queueing
> randomdly in some of my servers.
>
> For now I added this at the end el lookup_ldap function to fix the issue.
>
>   $conn_h->disconnect_from_ldap;

Probably the best solution would be to implement a TCP keepalive in the 
persistent connection.

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration


More information about the amavis-users mailing list