------- 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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to