Uncategories

HAProxy – Sample Configuration for SMTP Load Balance

 

frontend ft_smtp
bind 0.0.0.0:25 transparent
mode tcp
no option http-server-close
timeout client 1m
log global
option tcplog
default_backend bk_relay

backend bk_relay
mode tcp
no option http-server-close
log global
option tcplog
timeout server 1m
timeout connect 5s
balance roundrobin
server s1 10.10.1.2:25
server s2 10.10.10.1.5:25

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s