Michael Hall wrote:

2.3.3 includes changes to handle multiple search attributes.

OPS, retried and the expansion occurs. OTOH I started getting weird errors in the log.

query_filter looks like this: '(&(objectClass=amavisAccount)(|(mail=%m)(mailalternateaddress=%m)))'

and the directory server is a SunONE DS 5.2. The query in the DS log is:

"(&(objectClass=amavisAccount)(|(|([EMAIL PROTECTED])(mail=addy)([EMAIL PROTECTED])([EMAIL PROTECTED])([EMAIL PROTECTED])([EMAIL PROTECTED]))(|([EMAIL PROTECTED])(mailAlternateAddress=addy)([EMAIL PROTECTED])([EMAIL PROTECTED])([EMAIL PROTECTED])([EMAIL PROTECTED]))))" attrs=ALL


All LDAP searches get 0 results and don't timeout. In the maillog (loglevel=2):

Nov 28 10:30:46 srv-asgw03 amavis[1462]: (01462-02) NOTICE: do_search: trying again: LDAP_OPERATIONS_ERROR

Nov 28 10:30:46 srv-asgw03 amavis[1462]: (01462-02) lookup_ldap: do_search: failed again, at (eval 40) line 152, <DATA> line
 392.

Nov 28 10:30:46 srv-asgw03 amavis[1462]: (01462-02) TROUBLE in process_request: do_search: failed again, at (eval 40) line 1
52, <DATA> line 392. at (eval 40) line 433, <DATA> line 392.

Nov 28 10:30:46 srv-asgw03 amavis[1462]: (01462-02) Requesting process rundown after fatal error


As soon as I remove the double alias expansion the error does not occur anymore and the message gets through (postqueue -f). Weird, isn't it?! I am now increasing the loglevel and monitoring the system. Fortunately it is not yet in production...

Anybody else experiencing the same behaviour?
Paolo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to