Re: [exim] Blocking outbound email - restricting to certain …

Góra strony
Delete this message
Reply to this message
Autor: Graeme Fowler
Data:  
Dla: exim-users
Temat: Re: [exim] Blocking outbound email - restricting to certain domains
On Sat, 2013-10-05 at 14:46 +0300, Lena@??? wrote:
> ...
> domainlist good = example.com : example1.com : example2.com
> begin acl
> ...
>
> begin routers
> discard:
> driver = redirect
> domains = ! +good
> data = :blackhole:


It's perhaps worth pointing out that in 'local' mode - that is, where an
application is generating a mail and calling a command-line binary to
push it into the Exim queue - there is no way to prevent the messages
getting into the queue without causing unintended consequences on behalf
of the application concerned.

That's why the non-SMTP ACL has no knowledge of domains etc, and all the
work has to be done once the message is queued - hence Lena's excellent
and simple explanation above.

Graeme