[SA-exim] LDAP-Calls in SAEximRunCond
Dickenson, Steven
sdickenson at keyschool.org
Fri Jul 11 10:08:01 PDT 2003
$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 <sdickenson at keyschool.org>
Network Administrator
The Key School, Annapolis Maryland
-----Original Message-----
From: Philipp Sacha [mailto:psacha at blue-cable.net]
Sent: Friday, July 11, 2003 8:52 AM
To: sa-exim at lists.merlins.org
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:psacha at blue-cable.net
_______________________________________________
SA-Exim mailing list
SA-Exim at lists.merlins.org
http://lists.merlins.org/lists/listinfo/sa-exim
More information about the SA-Exim
mailing list