Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the following ACL with Exim4:

    deny message  = DNSRBL Access denied - $sender_host_address \ 
                    listed by $dnslist_domain\n$dnslist_text 
         dnslists = :

This applies the DNSBL to all mail, but I'd like to add an exception to only check incoming mail (or to skip the checks for mail delivered via an SMTP-authenticated session).

share|improve this question
up vote 1 down vote accepted

It seems easiest to me to just juggle the order of the tests in acl_check_rcpt such that something like the following is above the DNSBL test you're having trouble with:

accept  authenticated = *

So, rather than adding an exception to the DNSBL check, you simply accept the mail before you ever get to the DNSBL check if the sender is authenticated.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.