RE: LDAP-Calls in SAEximRunCond
"Dickenson, Steven" <[email protected]>
| Newsgroups | gmane.mail.exim.spamassassin |
|---|---|
| Message-ID | <[email protected]> |
$local_part and $domain are not available at the time that SA-Exim is called. If you want per user scanning, see the e-mail that Malte Geierhos posted yesterday. You'll need to make use of ACLs present in Exim 4.20. Steven --- Steven Dickenson <[email protected]> Network Administrator The Key School, Annapolis Maryland -----Original Message----- From: Philipp Sacha [mailto:[email protected]] Sent: Friday, July 11, 2003 8:52 AM To: [email protected] Subject: [SA-exim] LDAP-Calls in SAEximRunCond Hi, i have installed exim 4.20 with sa-exim 3.0. What i try to configure is, that only mail for users with an attribute in LDAP set to 'y' is scanned for spam. Therefor in spamassassin.conf i have defined: SAEximRunCond: ${if eq {${lookup ldap {ldap:///dc=mydomain,dc=example??sub?(&(mail=$local_part@$domain)(spamcheck= y)) }{1}{0}}}{1}{0}} When sa-exim asks LDAP it seems that $local_part and $domain are empty. The resulting filter from the slapd-log is: filter="(&(mail=@)(spamcheck=y))" Could it be that i have missed something? Regards, Philipp -- Philipp Sacha mailto:[email protected] _______________________________________________ SA-Exim mailing list [email protected] http://lists.merlins.org/lists/listinfo/sa-exim