[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 #17 from Simon Arlott <bugzilla.exim.simon@???> ---
Created attachment 1372
--> https://bugs.exim.org/attachment.cgi?id=1372&action=edit
Patch to make valid lookup result addresses configurable

I've created a patch to make this configurable.

It could be used as follows:
  dnslist_valid_addresses = ${if match{$dnslist_domain\
    }{\N.spamhaus.org$\N}{!127.255.255.0/24 : }}127.0.0.0/8


A more flexible expansion would be to lookup the $dnslist_domain in a file:
*.spamhaus.org: !127.255.255.0/24 : 127.0.0.0/8

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