Nick Nelson wrote:
There's certain domains where all mail would be relayed through another host, for these domains I do not want to accept mail from any IP that isn't listed in /etc/allowedips, the domains that relay through this host are listed in /etc/protecteddomains. Can anyone provide some insight on this?
This ACL should work: deny sender_domains = lsearch;/etc/protecteddomains!condition = ${lookup{$sender_host_address}lsearch{/etc/allowedips} {yes}{no}}
log_message = $sender_host_address is not allowed to send mail from $sender_address_domain
message = $sender_host_address is not allowed to send mail from $sender_address_domain
smime.p7s
Description: S/MIME Cryptographic Signature
-- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
