[Exim] Undoubtably a stupid question re: spamassassin

Top Page
Delete this message
Reply to this message
Author: Tom Bell
Date:  
To: Exim Mailing List
Subject: [Exim] Undoubtably a stupid question re: spamassassin
Howdy,
    This is more an exim question then a spamassassin one thus I am
here.
I'm currently using exim as a router in front of an exchange box. I am
wanting to get spamassassin to look at the mail on the way through this
machine before it gets to the exchange server. However the config
examples I am seeing include a spam_check: transport and a
spamcheck_director: director.


From my understanding this means that mail routed through this machine
will never get scanned as directors are only used for local addresses.
And since all router email is remote nothing will get scanned.

My question is do I need to define a conditional router similar to the
director which uses the spam_check transport ? and if so what type of
driver do I use since smartuser is not supported in routers.

My other thought is two run two configs, the first that excepts the mail
considers all routing domains to be local and thus passes the mail to
the spamcheck transport which then would pass the mail back to exim with
-C using a different config which treats these same domains as remote
and thus delivers.

Or can I get exiscan to pass the mail to spamassasin ?

Debian 3.0
kernel 2.4.19
Exim 3.36
spamassassin 2.53
exiscan 2.4-2

As always thanx for any thoughts or feed back.

Tom Bell
NCT Computers