Re: [exim] Stop scanning local mail

Top Page
Delete this message
Reply to this message
Author: Marco Wessel
Date:  
To: exim-users
Subject: Re: [exim] Stop scanning local mail

On Mar 5, 2007, at 6:57 PM, Frank DeChellis wrote:

> Hi there,
>
> I am using Exim 4.66 as out SMTP server.
>
> Not being overly familiar with the ACL, is there a simple set of
> commands
> that would stop exim form scanning email coming from local sources?


Assuming for a bit that you scan inside an acl, just put something like

accept hosts = +relay_from_hosts

before the statement to scan the e-mails if you wanted to skip
scanning from hosts in that list.

If you scan with a router (like if you were using amavisd-new), you'd
have to set up your amavis router to not accept mail from local
hosts, something like this:

amavisd:
driver = manualroute
hosts = ! +relay_from_hosts
<rest of amavisd router config>