[SA-exim] Spamassassin and MX servers

Marc MERLIN marc at merlins.org
Fri Jan 30 20:35:56 PST 2004


On Fri, Jan 16, 2004 at 02:24:53PM -0600, Terry Shows wrote:
> I have some customers asking me to perform spam filtering for them.
> 
> I want to create a table of domains that I will scan for.  When an email
> comes in, SA-EXIM checks the receiving domain name and looks it up in this
> table.  If it exists, spamassassin runs against the email, but if the domain
> isn't in the list, spamassassin doesn't scan it.
> 
> I have several domains I am a backup-mx for, and they do not want me to scan
> their messages.
> 
> Does anybody have any suggestions to do this with that is fast and easy?  I
> am only wanting to scan for 3-4 domains, but I am backup MX for over 2 dozen
> that don't want scanning done.

Mmmh, off hand I would write an rpct to ACL that adds a header (or sets
an exim acl var that sa-exim can read in its run condition test) if the
envelope to points to one of your domains.
If the header/acl var isn't there, then use that not to run sa-exim

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key



More information about the SA-Exim mailing list