[exim-dev] [Bug 435] dnslists!=x.x.x.x issue with multiple R…

Pàgina inicial
Delete this message
Reply to this message
Autor: bug435
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 435] dnslists!=x.x.x.x issue with multiple RRs
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=435





------- Comment #1 from anomie@??? 2006-12-15 17:46 -------
Created an attachment (id=39)
--> (http://www.exim.org/bugzilla/attachment.cgi?id=39&action=view)
Patch to simply change the behavior

If we simply want to change the behavior, this patch should do it.

I've tested this with this ACL:
acl_check_connect:

    warn dnslists = combined.njabl.org
         logwrite = $sender_host_address yielded $dnslist_value
    warn dnslists = combined.njabl.org=127.0.0.3
         logwrite = Match combined.njabl.org=127.0.0.3
    warn !dnslists = combined.njabl.org=127.0.0.3
         logwrite = No match combined.njabl.org=127.0.0.3
    warn dnslists = combined.njabl.org!=127.0.0.3
         logwrite = Match combined.njabl.org!=127.0.0.3
    warn !dnslists = combined.njabl.org!=127.0.0.3
         logwrite = No match combined.njabl.org!=127.0.0.3
    warn dnslists = combined.njabl.org=127.0.0.3,127.0.0.9
         logwrite = Match combined.njabl.org=127.0.0.3,127.0.0.9
    warn !dnslists = combined.njabl.org=127.0.0.3,127.0.0.9
         logwrite = No match combined.njabl.org=127.0.0.3,127.0.0.9
    warn dnslists = combined.njabl.org!=127.0.0.3,127.0.0.9
         logwrite = Match combined.njabl.org!=127.0.0.3,127.0.0.9
    warn !dnslists = combined.njabl.org!=127.0.0.3,127.0.0.9
         logwrite = No match combined.njabl.org!=127.0.0.3,127.0.0.9
    warn dnslists = combined.njabl.org=127.0.0.3,127.0.0.4
         logwrite = Match combined.njabl.org=127.0.0.3,127.0.0.4
    warn !dnslists = combined.njabl.org=127.0.0.3,127.0.0.4
         logwrite = No match combined.njabl.org=127.0.0.3,127.0.0.4
    warn dnslists = combined.njabl.org!=127.0.0.3,127.0.0.4
         logwrite = Match combined.njabl.org!=127.0.0.3,127.0.0.4
    warn !dnslists = combined.njabl.org!=127.0.0.3,127.0.0.4
         logwrite = No match combined.njabl.org!=127.0.0.3,127.0.0.4
    warn !dnslists = combined.njabl.org!=127.0.0.3,127.0.0.4
         logwrite = No match combined.njabl.org!=127.0.0.3,127.0.0.4
    warn dnslists = combined.njabl.org=127.0.0.2,127.0.0.4
         logwrite = Match combined.njabl.org=127.0.0.2,127.0.0.4
    warn !dnslists = combined.njabl.org=127.0.0.2,127.0.0.4
         logwrite = No match combined.njabl.org=127.0.0.2,127.0.0.4
    warn dnslists = combined.njabl.org!=127.0.0.2,127.0.0.4
         logwrite = Match combined.njabl.org!=127.0.0.2,127.0.0.4
    warn !dnslists = combined.njabl.org!=127.0.0.2,127.0.0.4
         logwrite = No match combined.njabl.org!=127.0.0.2,127.0.0.4


    drop message = Done


And the IP addresses (pulled from my logs for today):
87.17.26.111 (127.0.0.3)
66.182.200.168 (127.0.0.9)
200.161.218.78 (127.0.0.3 and 127.0.0.9)
87.120.152.19 (127.0.0.4)
The only differences between exim without and with the patch were for
200.161.218.78 for the !=127.0.0.3 and !=127.0.0.3,127.0.0.4 tests, changing
from "No match" to "Match".

--
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email