I've just tested it by spinning up an instance of this version behind an AWS NLB and connecting to the load balancer from the outside - it worked well, nevertheless I'd encourage others to test as well. Log snippets follow:
# with smtpd_upstream_proxy_protocol defaulted to empty postfix-test-7cbd54cdfc-twv79 postfix Jan 07 10:50:55 mail postfix/master[1]: daemon started -- version 3.5-20200105-nonprod, configuration /postfix/config-live postfix-test-7cbd54cdfc-twv79 postfix Jan 07 10:51:19 mail postfix/smtpd[76]: connect from ip-10-36-0-0.eu-central-1.compute.internal[10.36.0.0] postfix-test-7cbd54cdfc-twv79 postfix Jan 07 10:51:19 mail postfix/smtpd[76]: improper command pipelining after QUIT from ip-10-36-0-0.eu-central-1.compute.internal[10.36.0.0]: !\021\000T\2620\030\265\254\024\000\272\260\273\000\031\003\000\004\206n\304Q\004\000>\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000 # with smtpd_upstream_proxy_protocol = haproxy postfix-test-7cbd54cdfc-65x22 postfix Jan 07 10:52:24 mail postfix/master[1]: daemon started -- version 3.5-20200105-nonprod, configuration /postfix/config-live postfix-test-7cbd54cdfc-65x22 postfix Jan 07 10:52:28 mail postfix/smtpd[76]: connect from fejezd.be[178.48.24.181] Again: thanks Wietse! T. On 1/6/20 12:42 AM, Wietse Venema wrote: > You can test haproxy v2 protocol support in postfix-3.5-20200105-nonprod > (http://ftp.porcupine.org/mirrors/postfix-release/index.html). I > have done all the testing that I can do. It would be great is someone > can test it against some real haproxy client. > > Haproxy v2 protocol support is limited to TCP over IPv4 and TCP > over IPv6. It supports non-proxied connections (typically used for > heartbeats). > > This will be part of the Postfix 3.5 stable release early this year. > > Wietse