Amavis fails to handle dropped LDAP connections

Quanah Gibson-Mount quanah at
Tue Jan 22 21:46:49 CET 2013

--On Tuesday, January 22, 2013 9:11 PM +0100 Patrick Ben Koetter 
<p at> wrote:

> Quanah,
> * Quanah Gibson-Mount <quanah at>:
>> This has been brought up before
>> (<>), but this is
>> an issue that persists through today -- If the LDAP connection is
>> dropped, and amavis doesn't detect it, all mail is endlessly blocked
>> until Amavis is restarted.
> I've experienced the same with SQL DSNs (in my case Postgres). Once I
> restart things work well again.

Hi Patrick,

That is unfortunate, however at least with the LDAP functions in Amavis, it 
already has some logic to re-run searches.  It just needs to expand the 
error cases in which it does that as per my suggested fix. ;)



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