You are here: Foswiki>HomeInfra Web>HAProxy (13 Sep 2019, AdminUser)Edit Attach
HAProxy is the key element for the mail cluster.

   log /dev/log   local0
   log /dev/log   local1 notice
   chroot /var/lib/haproxy
   stats socket /run/haproxy/admin.sock mode 660 level admin
   stats timeout 30s
   user haproxy
   group haproxy

frontend ft_smtp
   bind :25
        bind :::25
   mode tcp
   no option http-server-close
   timeout client 1m
   log global
   option tcplog
   default_backend bk_postfix
backend bk_postfix
   balance roundrobin
   mode tcp
   no option http-server-close
   log global
   option tcplog
   timeout server 10s
   timeout connect 5s
   server postfix0 x.x.x.x:25 send-proxy
   server postfix1 y.y.y.y:25 send-proxy
   server postfix2 z.z.z.z:25 send-proxy
Topic revision: r2 - 13 Sep 2019, AdminUser
This site is powered by FoswikiCopyright © by Eddy Vervest