I am setting up haproxy in front of several Qmail SMTP servers, however when I try to send an email through Thunderbird, it doesn’t really work.
The message could not be sent because connecting to Outgoing server (SMTP) smtp.example.com failed. The server may be unavailable or is refusing SMTP connections. Please verify that your Outgoing server (SMTP) settings are correct and try again.
But if I try to send it through telnet I do get the email but just blank email, with no sender , body…
Any idea what could be happening ?
This is the config:
frontend smtp_service_front bind 10.11.6.39:25 mode tcp default_backend smtp_service_back description SMTP 25 Service log global maxconn 8000 option socket-stats option tcplog option tcpka timeout client 30s backend smtp_service_back mode tcp balance roundrobin option tcpka option smtpchk HELO smtp.example.com timeout connect 5s timeout server 31s server lxmail01-vm mail01.example.com:25 resolvers dns resolve-prefer ipv4 fall 4 rise 3 inter 2s check-send-proxy send-proxy check server mail03 mail03.example.com:25 resolvers dns resolve-prefer ipv4 fall 4 rise 3 inter 2s check-send-proxy send-proxy check