[Pkg-exim4-users] Block *@example.com but allow name at example.com

Jeroen van Aart jeroen at mompl.net
Fri Apr 16 23:48:17 UTC 2010

Marc Haber wrote:
> Otoh, you could do some ACL magic.

With the help of someone on the exim list the following snippet in the 
acl/30_exim4-config_check_rcpt section did the job:

         recipients = @@lsearch;/etc/exim4/filename
         message = Unknown recipient

# cat /etc/exim4/filename
example.com: !abuse : !postmaster : *

This will cause all email to example.com, which is configured in 
hubbed_hosts, to be denied except those for abuse and postmaster.


More information about the Pkg-exim4-users mailing list