On 5/2/2013 6:14 AM, Godbach wrote:

Hi, Eliezer

It seems that smtp1 and smpt2 have the same IP:Port

 >          server smtp1 192.168.25.1:25 maxconn 10
 >          server smtp2 192.168.25.1:25 maxconn 10
Indeed.
I noticed that but forgot to fix it while quoting from the new mail
##start
listen tcp 0.0.0.0:225
         mode tcp
         option tcplog
         balance leastconn
         maxconn 10000
         server smtp1 192.168.25.1:25 maxconn 10
         server smtp2 192.168.25.2:25 maxconn 10
##end

So when I have more then 10 connections haproxy will try the second server.

Eliezer

Reply via email to