Disable LDAP persistent connections

Diego Woitasen diego at woitasen.com.ar
Thu Aug 25 15:52:38 CEST 2011


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;

Regards,
 Diego

-- 
Diego Woitasen


More information about the amavis-users mailing list