Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

[Bug 1369] New: dnslists key with IPv6 address tricky to use

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


wbreyha at gmx

Jul 16, 2013, 4:49 PM

Post #1 of 1 (45 views)
Permalink
[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 [at] exim
ReportedBy: wbreyha [at] gmx
CC: exim-dev [at] exim


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/ ##

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.