Re: make outbound mail skip SA

"Rich, Whidbey Telecom NOC" <[email protected]> Wed, 20 Oct 2004 12:40:34 -0700
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
You could try a "condition" statement in your spam-scanning ACL, or 
just use the "hosts" option:

warn message = X-SpamScore: $spam_score_int
	hosts = !+relay_from_hosts
	spam = exim:true

That should only scan and tag messages not from hosts allowed to relay 
(outgoing email).

Or, just put an "accept" statement in the DATA ACL before it even runs 
the spam scan:

	accept authenticated = *
	accept hosts = +relay_from_hosts

Make sure your virus scanner runs before that though.

Rich

On Friday, October 15, 2004, at 07:43 AM, Brian wrote:

> Hello all,
>
> Is there someway for a mailserver to scan incoming email using SA but 
> not outbound?
>
> or what I guess would be easier is to say "don't (spamassassin) scan 
> email from this host" or "don't (spamassassin) scan email from this 
> network"
>
> Is that possible?
>
> I have an exim mail hub that is doing incoming email for a few domains 
> and outbound delivery for a few others.
>
> Is this possible?
>
> Thanks in advance,
>
> - Brian
>
>