On 2021-12-29 08:41:53 -0500, Scott Kitterman wrote:
> On Fri, 10 Jul 2020 11:32:18 +0200 Vincent Lefevre <vinc...@vinc17.net> wrote:
> > On 2020-07-10 10:11:38 +0200, Vincent Lefevre wrote:
> > > Package: postfix
> > > Version: 3.5.4-1
> > > Severity: important
> > > 
> > > postfix cannot send mail if IPv6 is local only. In /var/log/mail.log
> > > I've got errors like
> > > 
> > > Jul 10 09:53:22 zira postfix/smtp[865322]: 4C24DC218EE: to=<xxx>, 
> relay=none, delay=2409, delays=2389/0.03/20/0, dsn=4.4.3, status=deferred 
> (Host or domain name not found. Name service error for name=joooj.vinc17.net 
> type=AAAA: Host not found, try again)
> > > 
> > > for several dozens of minutes.
> > 
> > I've eventually found the cause of the issue. First the error message
> > is misleading: this has nothing to do with IPv6 (type=AAAA); it should
> > be corrected (I'm cloning this bug as: misleading info in error message
> > "Host or domain name not found[...]").
> 
> That's the error message postfix gets from the DNS resolver, so
> there's really nothing postfix can do about this.

There is. I suppose that postfix attempts an IPv4 connection and an
IPv6 connection, and that the mail is deferred only because *both*
are failing. So postfix should output both error messages.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to