i have postscreen and smtpd running on the same box as submission, and it seems i am missing something when trying to leverage proxy protocol.

in my main.cf i have the lines:
smtpd_upstream_proxy_protocol = haproxy
...
postscreen_upstream_proxy_protocol = haproxy

this seems to work, but after a while haproxy detects the services as down, and i get the below message from submission in logs:
postscreen_upstream_proxy_protocol = haproxy

i tried to add:
-o smtpd_upstream_proxy_protocol=
and
-o smtpd_upstream_proxy_protocol=none

to my master.cf, so submission would not try to use the proxy protocol header, but i got errors or failures in both cases.

how do i configure postscreen and smtpd to use the proxy protocol, but leave submission out, since it does not seem to recognize proxy protocol. if submission does use the proxy protocol, what do i set for it?

Reply via email to