[exim] dnslists - netmask or wildcard

Top Page
Delete this message
Reply to this message
Author: Nick Rickard
Date:  
To: exim-users
Subject: [exim] dnslists - netmask or wildcard
Grateful for some help or pointers with dnslists format, please.

I currently have:

   deny
     log_message = $sender_host_address blocked by $dnslist_domain \
       with $dnslist_value and $dnslist_text
     dnslists = \
       abcdef.sbl.dq.spamhaus.net=127.0.0.2 : \
       abcdef.sbl.dq.spamhaus.net=127.0.0.3 : \
       abcdef.xbl.dq.spamhaus.net=127.0.0.4


(where abcdef is my obscured personal key for the Spamhaus DQS service)

This works as expected. But I'd like to be able to cope with a wider range of response codes. I'd like to have the equivalent of '127.0.0.0/24' or '127.0.0.*' as accepted matches. But neither of these seems to be an acceptable format for exim in dnslists.

Is there a way to achieve what I want, please?

Nick.