> From: Ben > I would like to restrict all SMTP and local submission to be able to > send mail to certain domains ONLY. > > E.g. only allow sending/relay to example.com, example1.com, > example2.com, nothing else.
> From: Viktor Dukhovni > Instead of using ACLs, which seem sensibly to apply primarily to SMTP, > use an Exim "router" to deliver the desired domains normally, while > routing everything else to the bit bucket. > You should be able to use the append transport with a destination > file of /dev/null for all domains except those that you want to be > handled normally. ... domainlist good = example.com : example1.com : example2.com begin acl ... begin routers discard: driver = redirect domains = ! +good data = :blackhole: ... -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
