Hi Again, I tried to help myself. Please have a look at the patch attached.
It seems to work and I hope there are no side effects concerning stability, performance or security.
Matthias--On Freitag, 5. August 2005 15:52 +0200 Matthias Bandemer <[EMAIL PROTECTED]> wrote:
Hi, with amavisd-new 2.3.2 we have problems with LDAP query_filters like this: query_filter => '(&(objectClass=amavisAccount)(|(mail=%m)(mailAlternateAddress=%m)(mailEq uivalentAddress=%m)))' Amavisd is improperly creating a LDAP filter string like this: filter = (&(objectClass=amavisAccount)(|(|([EMAIL PROTECTED])([EMAIL PROTECTED]))( mailAlternateAddress=%m)(mailEquivalentAddress=%m))) Amavisd is missing to lookup addresses in attributes 'mailAlternateAddress' and 'mailEquivalentAddress'. I think the problem is around the lines 10600 to 10603 and I tried to fix it by using a loop to get the correct filter string, but I noticed that $filter_attr is used as a scalar in the lines beneath. Can this problem be fixed in any way? Best regards, Matthias Bandemer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
amavisd.filter_attr.patch
Description: Binary data
