Mike Cardwell wrote: >> Is there any way to configure exim to reject all mail to a server say >> (ServerA) for a particular domain say xyz.com, unless it comes from a >> certain IP(s) , while still allowing the other domains on the server >> accept >> mail from anyone? > > In the rcpt acl: > > deny domain = example.com : grepular.com > !hosts = 192.168.0.0/24 : 10.0.0.5 > message = $domain doesn't accept mail from $sender_host_address > > The above would reject any email to any email addresses ending > @example.com or @grepular.com unless they came from the IP address > 10.0.0.5 or the network 192.168.0.0/24
That should be "domains =" not "domain =" Mike -- ## List details at http://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/
