[exim] IPv6 bug with reverse_host_lookup

Top Page
Delete this message
Reply to this message
Author: Robert Blayzor
Date:  
To: exim-users
Subject: [exim] IPv6 bug with reverse_host_lookup
Exim version 4.94.2

This looks like a bug with "reverse_host_lookup" and hosts that have
both an A and AAAA record in DNS.


Recently added the following rule in an SMTP connect ACL:


defer !verify = reverse_host_lookup/defer_ok
       log_message = PTR invalid for $sender_host_address




and we are seeing IPv6 senders with valid PTR's and matching AAAA's for
that host hit the rule:


2021-06-24 14:29:03 H=[2602:ff1c:1:80::50]:60631 temporarily rejected
connection in "connect" ACL: PTR invalid for 2602:ff1c:1:80::50: host
lookup failed (2602:ff1c:1:80::50 does not match any IP address for
mta4.pr.judicialwatch.org)


But clearly in DNS, an A and AAAA exists...

host mta4.pr.judicialwatch.org
mta4.pr.judicialwatch.org has address 192.107.243.81
mta4.pr.judicialwatch.org has IPv6 address 2602:ff1c:1:80::50


Bug? Anyone else confirm?

--
inoc.net!rblayzor
XMPP: rblayzor.AT.inoc.net
PGP: https://pgp.inoc.net/rblayzor/