Hello everyoneđź‘‹,
I am trying to setup a separate postfix instance on another server to ensure high-availability.
For that I am proxying SMTP (on Port 25) to mailcow or the relay, if mailcow is down.
The proxy I am using is haproxy and I’ve set haproxy up to use the PROXY Protocol to ensure that the source ip is the actual sender ip.
Now I have a few issues:
- after adding
smtpd_upstream_proxy_protocol = haproxy to extra.cf in conf/postfix it doesn’t seem to be getting the actual ip
- smtp healthcheck via smtpchk doesnt seem to work either since mailcow just closes the connection
Does anyone know how to configure mailcow behind haproxy?
Thanks in advance!
Had to use postscreen_upstream_proxy_protocol