Viktor Dukhovni:
> On Wed, Aug 03, 2022 at 10:39:17PM +0200, Joachim Lindenberg wrote:
> 
> > I do have inet_protocols=ipv4 in main.cf, everything  else should
> > support ipv6 as mailcow in general does support ipv6, but due my NAT
> > setup I decided not to support ipv6 so far, and also I don?t believe
> > ipv4 will go away soon for smtp in general. Moving to proxy protocol
> > would allow me to support ipv6 inbound (relevant for submission if at
> > all), but for sure I will not change my internal network to ipv6.
> > Nevertheless, I really don?t see any dependencies here that cannot be
> > resolved. Parsing is text processing and data structures, not relying
> > on kernel support or settings. DNS reverse lookups of ipv6 addresses
> > can be done via ipv4. If you want to support smooth transitions,
> > please do away with exceptions like this one.
> 
> Postfix presently does not support IPv6 address processing when
> inet_protocols = ipv4.
> 
> This restriction could perhaps be lifted in the HAPROXY code, but this
> would require some analysis...

Absolutely not. Postfix infrastructure code will have to handle
IPv6 address formats for logging, for relay access control, in email
addresses with an address literal (required by RFC) and so on.  It
does not matter that the address is received by proxy.

        Wietse

Reply via email to