Re: [Exim] ACL problem

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: Tony Finch
CC: andy@pos.st, exim-users@exim.org
Subject: Re: [Exim] ACL problem
On Sun, 23 Mar 2003, Tony Finch wrote:

> >Can any one give me a sample ACL config that will restrict all outgoing
> >message have a MAIL FROM address' domain_part to equal to local_domains?
> >Thanks!
>
> ACLs control incoming messages not outgoing ones. You need to examine
> what the routers are sending to the smtp transport.


But any mail needs to come in at some time ;)

Andy, a possible ACL would be

deny senders = ! *@+local_domains
     domains = ! +local_domains
     message = You're not allowed to send a mail


BUT! don't try to use this for relay control, only to enforce company
policy.

Nico