Re: SMTP over IPv6

2022-01-04 Thread Wietse Venema
post...@ptld.com: > The part i am still confused about is the perceived behavior > difference between > >inet_interfaces = all >inet_interfaces = ipv4, ipv6 inet_interfaces takes 'all' or a list of IP addresses. It will also take hostnames but such configuration is fragile; however if you

Re: SMTP over IPv6

2022-01-04 Thread postfix
> out of the box, Postfix will randomly deliver over IPv4 or IPv6 as > both addresses have the same MX preference. > > To try an IPv6 address before IPv4 with the same MX preference, use > "smtp_address_preference = ipv6". But I see no benefits for this > specific case, and it will hinder error re

Re: SMTP over IPv6

2022-01-04 Thread Wietse Venema
post...@ptld.com: > If i use these settings >inet_interfaces = all >inet_protocols = all >smtp_bind_address = >smtp_bind_address6 = >smtp_address_preference = any (* Not actually included in main.cf, > relying on 'any' as the default) > > Then most of the time email being

Re: SMTP over IPv6

2022-01-04 Thread Viktor Dukhovni
On Mon, Jan 03, 2022 at 10:39:49PM -0500, post...@ptld.com wrote: >smtp_bind_address6 = [] > > If I remove the [ ] around the IPv6 the error goes away. The manual > says [ ] is supported. Is my version is too old? Im okay with not > using [ ]. Indeed the implementation does not match the doc