I want to configure Haproxy for load balanceing of outgoing mails . for this
configuration of haproxy and postfix  i have googled various artical since
last month finally i got some information from Haproxy mailling list.
To balance postfix i am using ..
HA-Proxy version 1.5-dev11 2012/06/04
postfix mail_version = 2.10-20120902

 In /etc/main.cf
postscreen_upstream_proxy_protocol = haproxy
smtpd_upstream_proxy_protocol = haproxy

In /etc/haproxy.cfg

global
        maxconn     4096 # Total Max Connections. This is dependent on
ulimit
        nbproc      4
        log 127.0.0.1     local4
defaults
        mode        tcp
#       timeout connect 20s
#        timeout client 20s
#        timeout server 22s
frontend smtp_proxy 0.0.0.0:10021
        mode tcp
        log global
        option tcplog
        default_backend bk_postfix
backend bk_postfix
        mode tcp
        log global
        option tcplog
        balance roundrobin
        #source 0.0.0.0 usesrc clientip
        server postfix 127.0.0.1:25 send-proxy
        server r23.mtp.org 74.117.56.x:25 send-proxy
        server r17.mtp.org 199.71.212.x:25 send-proxy
both service haproxy and postfix running
but when i relay mails from my php application and from load balancer to
another smtp (which also have postfix 2.10) this shows error 
"  status=deferred (host r23.mtp.org[74.117.x.x] refused to talk to me: 421
4.3.2 No system resources)
 
and i am testing this all on vps server with centos 5.8 
Is this configuration error or system resource related error.?
please help me thank you in advance




--
View this message in context: 
http://postfix.1071664.n5.nabble.com/postfix-version-2-10-20120902-relay-issue-tp50315.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to