4.x is a lot more configurable and hence there is more detail to add…

These entries are normally added to the acl_rcpt ACL in the exim.conf file. The default/example exim configuration should contain an example similar to these.

To deny access, using a normal DNSBL with TXT records.

deny message = Access denied – $sender_host_address\
listed by $dnslist_domain\n$dnslist_text
dnslists =

This will produce a response similar to the following:
550-Access denied – listed by
550 Test entry.
To add an X-Warning header so that users can filter:

warn message = X-Warning: $sender_host_address listed by $dnslist_domain
log_message = Listed by $dnslist_domain
dnslists = Thanks to Josh Rollyson for the info.


Leave a Reply