Zimbra behind HaProxy

Forum to discuss, report issues, or provide feedback about Zimbra Suite Plus Installation or Upgrade
Post Reply
User avatar
Peter Parker
Posts: 8
Joined: Mon Apr 09, 2018 2:06 am
Location: Vietnam

Zimbra behind HaProxy

Post by Peter Parker »

Hi guys, :D

I have been recently installed Zimbra behind HaProxy. HaProxy will load balancing for two MTA.

I have configured front-end & backend on HaProxy as you can see the below. I also configured on Outlook to send test email-message. All tests completed successfully. But, I have the problem while I'm sending a message from Outlook, it takes too much time by sending a message in about 5-7 seconds. So, can anyone else please help me give a few ideas or any solution to impair it.

Thank you everyone!

frontend ft_smtp
bind 172.16.9.120:465
bind 172.16.9.120:587
bind 172.16.9.120:25
bind 172.16.9.120:993
mode tcp
no option http-server-close
timeout client 1m
log global
option tcplog
maxconn 3000
default_backend bk_zimbra
backend bk_zimbra
mode tcp
no option http-server-close
log global
option tcplog
timeout server 1m
timeout connect 1s
balance roundrobin
server mta 172.16.9.130:587 check
server mta 172.16.9.130:25 check
server mta 172.16.9.130:465 check
server mta01 172.16.9.76:587 check
server mta01 172.16.9.76:465 check
server mta01 172.16.9.76:25 check
listen stats 0.0.0.0:9000 #Listen on all IP's on port 9000
mode http
balance
timeout client 5000
timeout connect 4000
timeout server 30000

#This is the virtual URL to access the stats page
stats uri /haproxy_stats

#Authentication realm. This can be set to anything. Escape space characters with a backslash.
stats realm HAProxy\ Statistics

#The user/pass you want to use. Change this password!
stats auth admin:passwordhere

#This allows you to take down and bring up back end servers.
#This will produce an error on older versions of HAProxy.
stats admin if TRUE
joebitcoinorg
Posts: 7
Joined: Mon Jan 30, 2017 6:44 pm

Re: Zimbra behind HaProxy

Post by joebitcoinorg »

I'm so glad you've posted this.

I'm standing up a zimbra server today behind an HAProxy server. I intend to integrate WAP Web application firewall.
Post Reply