[exim-dev] [Bug 1369] New: dnslists key with IPv6 address tr…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Wolfgang Breyha
Date:  
À: exim-dev
Nouveaux-sujets: [exim-dev] [Bug 1369] dnslists key with IPv6 address tricky to use, [exim-dev] [Bug 1369] dnslists key with IPv6 address tricky to use, [exim-dev] [Bug 1369] dnslists key with IPv6 address tricky to use, [exim-dev] [Bug 1369] dnslists key with IPv6 address tricky to use, [exim-dev] [Bug 1369] dnslists key with IPv6 address tricky to use
Sujet: [exim-dev] [Bug 1369] New: dnslists key with IPv6 address tricky to use
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1369
           Summary: dnslists key with IPv6 address tricky to use
           Product: Exim
           Version: 4.80.1
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Documentation
        AssignedTo: nigel@???
        ReportedBy: wbreyha@???
                CC: exim-dev@???



I tried to use the following ACL to check an DNSBL:
  warn    condition   = ${if isip{$acl_m_firstip}}
          dnslists    = dnsbl.dronebl.org/$acl_m_firstip


If $acl_m_firstip contained an IPv6 Address it failed. Ok, I thought, it's my
fault and changed it to
  warn    condition   = ${if isip{$acl_m_firstip}}
          dnslists    = dnsbl.dronebl.org/<;$acl_m_firstip


But it still didn't work. Thinking twice again I noticed, that dnslists has
both an inner and an outer seperator.

The only solution seems to be to override both:
  warn    condition   = ${if isip{$acl_m_firstip}}
          dnslists    = <; dnsbl.dronebl.org/<|$acl_m_firstip


I think that should be documented in "35. DNS lists and IPv6" for ease of use.


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