Issue Report: Integration of PowerMTA with HAProxy

Environment Details:
HAProxy Version: 2.8.5
PowerMTA Version: 6
Infrastructure: HAProxy and PowerMTA are deployed on separate servers.
Problem Description:
While attempting to route outbound email traffic through PowerMTA to HAProxy and HAProxy to destination recipient , we are encountering the following error in the HAProxy logs:
2024-05-22T14:29:04.844179+05:30 secure-mail-lxg-8002 haproxy[2938]: 172.32.5.8:59809 [22/May/2024:14:29:04.686] smtp-out destination-servers/gmail-smtp 1/19/156 906 CD 1/1/0/0/0 0/0
2024-05-22T14:29:05.072835+05:30 secure-mail-lxg-8002 haproxy[2938]: 172.32.5.8:56145 [22/May/2024:14:29:04.904] smtp-out destination-servers/gmail-smtp 1/19/168 906 CD 1/1/0/0/0 0/0

This is my haproxy configuration:-

frontend smtp-out
bind *:25
mode tcp
default_backend destination-servers

backend destination-servers
mode tcp
balance source
server gmail-smtp smtp.gmail.com:587 check inter 5s fall 3 rise 2

can anyone please help i am stuck here, the mails are not getting proxied from haproxy server. Thankyou for your help.

@lukastribus @willy can anyone help me out in this situation

You probably have to use tcpdump and check the errors on your PowerMTA to understand what’s going one.