Currently I have 2 separate ACLs for this (and the same setup for
whitelists) for checking whitelisted addresses, and whitelisted domains.

Is there a single lookup I could do to check if [EMAIL PROTECTED] OR just the
domain example.com is on a list?

What I currently have:

acl_check_rcpt:
...

# Deny if SENDER ADDRESS is (user) blacklisted
deny
     senders          = <, ${extract {mailBlacklistAddr}{$address_data}
{$value} {false} }
     message        = Sender address not accepted by [EMAIL PROTECTED]
     log_message  = Sender address not accepted by [EMAIL PROTECTED];
blacklisted address

# Deny if SENDER DOMAIN is (user) blacklisted
deny
     sender_domains  = ${extract {mailBlacklistDomain}{$address_data}
{$value} {false} }
     message             = Sender address not accepted by
[EMAIL PROTECTED]
     log_message       = Sender address not accepted by
[EMAIL PROTECTED]; blacklisted address

Thanks in advance!

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

Reply via email to