Hi all
I am having a problem with an Exim ACL and need a few more pairs of eyes to
double check this for me.
Basically I have this mail server where some clients do not want their mail
checked for spam. This is because they receive a lot of mail from Asian
countries and Spam Assassin seems to not like it much.
What I did was to create a file called /etc/host_spam_noscan_to that contains
the domains that will not have their incoming mail checked for spam. I then
put a new ACL line above the entries that check for spam.
accept condition = ${lookup{$domain}lsearch{/etc/host_spam_noscan_to}{1}{0}}
The way I see it is that if the recipient's domain is found in the file, the
condition will return true and the message will be accepted, skiping the spam
checking ACLs.
Unfortunately this is not working. Mail is still being rejected.
Here is the exim version info if it helps.
root@mantis:/etc# exim -bV
Exim version 4.42 #1 built 03-Oct-2004 19:19:32
Copyright (c) University of Cambridge 2004
Probably GDBM (native mode)
Support for: iconv()
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz ldap ldapdn
ldapm
Authenticators:
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Contains exiscan-acl patch revision 27 (c) Tom Kistner
[
http://duncanthrax.net/exiscan/]
Configuration file is /etc/exim.conf
root@mantis:/etc#
Any ideas?
Thanks
--
Rodney Arne Karlsen
Product Development Engineer
Thusa Business Support cc
Telephone: +27 31 563 1180
Facsimile: +27 31 563 1182
Website:
http://www.thusa.co.za