I am unable to get HAProxy to balance SMTPS
This is my configuration:
frontend SMTPS_465
bind 10.1.1.232:465 name smtpssl ssl crt /home/exchange.pem
mode tcp
option tcplog
default_backend SMTPS_465
frontend SMTPS_587
bind 10.1.1.232:587 name smtpssl ssl crt /home/exchange.pem
mode tcp
option tcplog
default_backend SMTPS_587
backend SMTPS_465
mode tcp
server Exc1 fqdn1:465 check port 465 fall 3 rise 2 on-marked-down shutdown-sessions
server Exc2 fqdn2:465 check port 465 fall 3 rise 2 on-marked-down shutdown-sessions
backend SMTPS_587
mode tcp
server Exc1 fqdn1:587 check port 587 fall 3 rise 2 on-marked-down shutdown-sessions
server Exc2 fqdn2:587 check port 587 fall 3 rise 2 on-marked-down shutdown-sessions
Telneting to haproxy 465 or 587 results in different output than telneting to fqdn1 or fqdn2 ports 465 or 587
The certificate file is the same one used by exchange, and balancing owa/ecp works fine, using that certificate, so I believe I can rule out the certificate problem.
How can I see where are 465 and 587 forwarded to?
I have confirmed that both ports 465 and 587 are not used by any other service on haproxy (by stopping haproxy and checking if ports are locally open)