Re: [exim] Skip spamassassin for local server

Top Page
Delete this message
Reply to this message
Author: gdub
Date:  
To: exim users
Subject: Re: [exim] Skip spamassassin for local server
Balzi Andrea wrote:


> In to my exim I'm trying to skip the spamassassin check for all mail
> from my local server.



This is from an old example exim.conf:

# Accept if the source is local SMTP (i.e. not over TCP/IP). We do
this by
# testing for an empty sending host field.
accept hosts = :


Put it before your SA checks in the data
acl. Locally-generated mail will be
accepted--i.e. no further data rules will
be applied.

If your routers need to be aware of the
fact, you can set a header or acl_mN variable
in the accept rule.

-dub