I've been successfully using Postfix 3.3.1 behind an Haproxy for a few
weeks now, and while this is a minor complaint, I just wondered if it
was known.

I have dual-stack ipv4/v6 support enabled and as a result most of my
mail that comes from Google comes from an ipv6 address.

The IP address is not parsed properly I think in the haproxy protocol,
and I suspect that was fixed in send-proxy-v2 which I believe Postfix
doesn't support. If this is the case, are their plans to support the
haproxy v2 version of the proxy protocol?

# proxy protocol
smtpd_upstream_proxy_protocol = haproxy


# ipv4 message from Twitter, ip parsed perfectly:

2018-07-12T21:11:34.840559+00:00 mailgw postfix/smtpd[2224]: Anonymous
TLS connection established from
spring-chicken-bd.twitter.com[199.16.156.169]: TLSv1.2 with cipher
ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)

# ipv6 message from Google, unknown (haproxy) ip appears:

2018-07-12T19:18:16.767204+00:00 mailgw postfix/smtpd[2138]: Anonymous
TLS connection established from unknown[172.18.0.1]: TLSv1.2 with cipher
ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)

Chris

Reply via email to