Disable LDAP persistent connections

Diego Woitasen diego at woitasen.com.ar
Thu Aug 25 20:16:28 CEST 2011


I think that both options should be available. :)

On Thu, Aug 25, 2011 at 3:12 PM, Quanah Gibson-Mount <quanah at zimbra.com> wrote:
> --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
>



-- 
Diego Woitasen


More information about the amavis-users mailing list