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 = dnsbl.sorbs.net
This will produce a response similar to the following:
550-Access denied – 127.0.0.2 listed by dnsbl.sorbs.net
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 = dnsbl.sorbs.net Thanks to Josh Rollyson for the info.