[milters] Archive

Lists Index Date Thread Search

Article: 1104
From: Andrew Lyon
Date: 2010-10-12 09:45:54 -0400
Subject: milter-sender dns broken by ipv6 resolvers

Hi,

I appreciate milter-sender is discontinued but thought it prudent to
report this in case it affects other milters, if ipv6 dns resolvers
are listed in /etc/resolv.conf it seems to break milter-sender dns,
for example with the following resolvers listed:

nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 2a02:790:1:6::2
nameserver 2001:4f8:3:2bc:1::64:20

rcpt to:<user@domain.test.com>
450 4.7.1 <user@domain.test.com>... recipient denied, because DNS
connection error


And here is the milter log output with verbose=dns

Oct 12 14:31:19 plug milter-sender[3062]: 00001 o9CDV8bh003070: enter
mxCallBack()
Oct 12 14:31:19 plug milter-sender[3062]: enter DnsOpen()
Oct 12 14:31:19 plug milter-sender[3062]: DnsClose(87287d0)
Oct 12 14:31:19 plug milter-sender[3062]: exit  DnsOpen() Dns=0
Oct 12 14:31:19 plug milter-sender[3062]: 00001 o9CDV8bh003070: reply
451 4.4.3 DNS connection error
Oct 12 14:31:19 plug milter-sender[3062]: 00001 o9CDV8bh003070:
closing SMTP connection
Oct 12 14:31:19 plug milter-sender[3062]: 00001 o9CDV8bh003070: exit
mxCallBack() rc=4

Removing the v6 resolvers fixes the problem.

Andy

Lists Index Date Thread Search