Hi, I am running (trying to, really) postfix with postscreen (really Zimbra) behind haproxy.
I enabled proxy protocol support in Zimbra 08:27:26 (TEST) zimbra@zcs-fe5 [~] $ postconf |grep haproxy postscreen_upstream_proxy_protocol = haproxy 08:26:47 (TEST) zimbra@zcs-fe6 [~] $ postconf |grep haproxy postscreen_upstream_proxy_protocol = haproxy and have the following backend configuration in haproxy: backend smtp-zimbra-backend balance roundrobin mode tcp timeout server 1m timeout connect 10s option smtpchk EHLO lb.server.bla #option smtpchk server pm01 192.168.185.206:25 check send-proxy inter 45s fastinter 2s downinter 2s server pm02 192.168.185.207:25 check send-proxy inter 45s fastinter 2s downinter 2s However, this yields a „Layer 7 invalid response: „200-lb.server.bla“ From this article, I deduce that one cannot use smtpcheck with postscreen? https://www.linuxbabe.com/mail-server/smtp-imap-proxy-with-haproxy-debian-ubuntu-centos Set Up SMTP and IMAP Proxy with HAProxy (Debian, Ubuntu, CentOS) linuxbabe.com Does anybody have some experience with this? I would really prefer to have „smtpcheck“ to have some sort of health check to remove non-working backends from the pool… Rainer