[exim-dev] [Bug 2631] Option to restrict dnslists to specifi…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Old-Topics: [exim-dev] [Bug 2631] New: Option to restrict dnslists to specific networks and log a warning if they return IP addresses outside this range
Subject: [exim-dev] [Bug 2631] Option to restrict dnslists to specific networks and log a warning if they return IP addresses outside this range
https://bugs.exim.org/show_bug.cgi?id=2631

--- Comment #14 from Jeremy Harris <jgh146exb@???> ---
You didn't say you wanted that.

sndr_notin_dnslist:
  accept        !dnslist =      zen.spamhaus.org
  accept        condition =     ${if eq {$dnslist_value}{127.255.255.252}}
                logwrite =      Typing error in DNSBL Name
  accept        condition =     ${if eq {$dnslist_value}{127.255.255.254}}
                logwrite =      Query via public/open resolver/generic
unattributable rDNS
  accept        condition =     ${if eq {$dnslist_value}{127.255.255.255}}
                logwrite =      Excessive Number of Queries
  deny


acl_chk_mail:
  ...
  require       acl =           sndr_notin_dnslist
  ...


--
You are receiving this mail because:
You are on the CC list for the bug.