El jue, 3 dic 2020 a las 16:37, Wietse Venema (<wie...@porcupine.org>)
escribió:

> Sergio Belkin:
> > smtp_address_preference = any
> > inet_protocols = all
> ...
> > <apere...@another-example.com>: Host or domain name not found. Name
> > service error for
> > name=another-example.com.mail.protection.outlook.com type=AAAA: Host
> > found but no data record of requested type
> > </snip>
> >
> > AFAIK if DNS over IPv6 fails it tries over IPv4, doesn't it?
>
> Postfix will send A and AAAA queries, but it will report an error
> only for the last query that it tried. You might fimnd more details
> in the Postfix logging.
>
> So, the complete error message would be :
>
>     "I made DNS queries with type A and AAAA for the name
>     another-example.com.mail.protection.outlook.com. All queries
>     failed. The last query that failed had type AAAA. The last error
>     was "name exists but there is no AAAA record".
>
> But we reall don't want to send THAT in an email bounce message.
>
> > I wonder if beyond this bouncing the smtp uses then IPv4 and sends the
> > messages anyway. Please could you clarify this for me?
>
> All A and AAAA queries failed.
>
>         Wietse
>

Thanks Wietse for your answer

Is quite interesting that I find the following in logs:
Dec  2 23:53:09 muteriver postfix/smtp[28063]: warning: no MX host for
another-example.com has a valid address record

And then:

Dec  2 23:53:09 muteriver postfix/smtp[28063]: ED1CF1813C56F: to=<
apere...@another-example.com>, relay=none, delay=5.9, delays=0.17/0/5.8/0,
dsn=5.4.4, status=bounced (Host or domain name not found. Name service
error for name=another-example.com.mail.protection.outlook.com type=AAAA:
Host found but no data record of requested type)

and finally:

Dec  2 23:53:10 muteriver postfix/qmgr[1528]: ED1CF1813C56F: removed

That last line led me to wonder if the message was finally sent...

If I try to resolve another-example.com.mail.protection.outlook.com
manually on the mail server works fine with IPv4.

What do you think?

Was the message never sent?

If so, is there a way that postfix retries later if there is a temporary
resolution?

Thanks in advance!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org

Reply via email to