Re: [exim] Stop scanning local mail

Top Page
Delete this message
Reply to this message
Author: Arthur Hagen
Date:  
To: exim-users
Subject: Re: [exim] Stop scanning local mail
On Mon, 2007-03-05 at 20:01 +0100, Marco Wessel wrote:
> 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.


One host I have fetch a couple of outside mailboxes with fetchmail, and
feeds the emails to exim for local delivery. The problem is that those
would then be accepted, since the connecting host is localhost.
Anyone got a good idea for a scenario like that, where you do want to
scan anything coming from the outside or through fetchmail, but not
anything sent from machines on the local network?

Regards,
--
*Art