[exim] SA-Exim and acls

Top Page
Delete this message
Reply to this message
Author: David Purton
Date:  
To: Exim Users
Subject: [exim] SA-Exim and acls
Hi,

I'm trying to control whether emails are scanned for spam or not. (Debian
etch, btw)

So for example when mail is locally generated, I'm setting acl_m0 to
do-not-scan in Exim's acl_check_rcpt.

e.g.,

acl_check_rcpt:
  warn hosts = :
       set acl_m0 = do-not-scan


then in sa-exim.conf I have

SAEximRunCond: ${if !eq {$acl_m0}{do-not-scan} {1}{0}}

But it's not working :( The message gets scanned anyway.

The acl is being set, since I can see this happening if I run exim in
debug mode.

but SAEximRunCond is expanding to false (it expands to true if I use
SAEximRunCond: ${if !eq {$acl_m0}{} {1}{0}})

Any ideas what I'm doing wrong?


cheers,

dc

--
David Purton
dcpurton@???

For the eyes of the LORD range throughout the earth to
strengthen those whose hearts are fully committed to him.
                                 2 Chronicles 16:9a