I have haproxy in transparent mode to load balance two mail server. I have a problem with outgoing mail messages. The receiving party see that the IP of our mail server is the ip of haproxy and not the server itself.
I need suggestion how to fix this because other mail server block our email because they category it as spam.
Here is my sample config on haproxy.
listen mail_smtp
bind 68.128.X.X:25
mode tcp
option tcplog
balance leastconn
source 0.0.0.0 usesrc clientip
server mail1 68.138.x.x:25 check port 80 inter 3s rise 2 fall 2
server mail2 68.138.x.x:25 check port 80 inter 3s rise 2 fall 2 backup