On Sat, 11 Jun 2011, Nigel Metheringham wrote:

However, in either a combined or a split out instances configuration, the way 
you probably want to do this is by making the routers conditional rather than 
applying additional filters, so

# router for restricted domain - this domain can only send or be sent
# to itself
restricted_domain:
 driver = accept
 domains = restricted.doma.in
 senders = *@restricted.doma.in
 transport = local_restricted_delivery

# router for other domains
other_domains:
 driver = accept
 domains = doma1.in : doma2.in # but not restricted.doma.in
 senders = ! *@restricted.doma.in
 transport = local_normal_delivery

and use the same conditions on the general send-elsewhere router


Just wondering - any advantage to doing the restrictions in routers,
vs in the rcpt acl?


--
--------------------------------------------------------
 Dave Lugo     [email protected]      No spam, thanks.
 Are you the police?  . . .  No ma'am, we're sysadmins.
--------------------------------------------------------

--
## 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/

Reply via email to