amavis ldap trouble in process_request do_search

Mark Martinec Mark.Martinec+amavis at ijs.si
Fri Apr 5 20:16:35 CEST 2013


Frank,

> amavis 2.8.0-4.el6
> I have some trouble with amavis ldap postfix ldap on CentOS 6.4  
> Sometimes I found:
> 
> amavis[1170]: (01170-02) (!)lookup_ldap: do_search: failed:  
> LDAP_OPERATIONS_ERROR
>   amavis[1170]: (01170-02) (!!)TROUBLE in process_request: do_search:  
> failed: LDAP_OPERATIONS_ERROR at (eval 113) line 538.
> amavis[1170]: (01170-02) (!)Requesting process rundown after fatal error

 
> The server works on a small business 15 - 20 Mails ervery hour.

Such low mail rate could be the reason for persistent LDAP sessions
to time out.  The default is to use persistent SQL and LDAP sessions:

  $database_sessions_persistent = 1; # keep SQL & LDAP sessions open when idle

Starting with 2.8.0 this can be turned off:

  $database_sessions_persistent = 0;


Mark


More information about the amavis-users mailing list