0

I have a Postfix Backend behind HAProxy and check for a response starting with 220 (status code).

backend smtp-backend
        mode tcp
        option tcp-check
        tcp-check expect rstring ^220
        balance roundrobin
        server vtsv-postfix1 172.21.0.137:25 check 
        server vtsv-postfix2 172.21.0.147:25 check

The problem is when i configure the proxy protocol in postfix and use send-proxy for the backend, the health check does not work anymore.

backend smtp-backend
        mode tcp
        option tcp-check
        tcp-check expect rstring ^220
        balance roundrobin
        server vtsv-postfix1 172.21.0.137:25 check send-proxy
        server vtsv-postfix2 172.21.0.147:25 check send-proxy

How can i do a health check to see if postfix is responding with a 220 status code when using the proxy-protocol?

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.