[Exim] Per-domain / per-user DNSbl blocking

Top Page
Delete this message
Reply to this message
Author: Andy Broomé
Date:  
To: exim-users
Subject: [Exim] Per-domain / per-user DNSbl blocking
Sorry if this has been asked before, but here goes.

My Exim version is 4.24 and I run a small hobby server, providing email to
family and friends. The mail-server has more than one domain (one of which I
use exclusively for myself).

Currently, I use a number of DNSbl's, but some of these lists are too aggressive
for some of my users.

So, what I tried to do is delegate the DNSbl lookup like this:

  drop    message       = Rejected - $sender_host_address is blocklisted at
$dnslist_domain: $dnslist_text
          dnslists      = /home/$local_part/$domain.dnsbls


(because some of my users have addresses on more than one domain here).

But this doesn't seem to work, although I see no error messages in the Exim
logfile.

Doesn't the "dnslists" syntax allow for filenames?

Also, if there was some way of using files with dnslists, what would the file
format have to be? One line, such as "dnsbl1.whatever.tld : dnsbl2.example.com"
or could it be multiple lines (and would a ": \" be mandatory at the end of each
line)?