1

Topic: 2 iredmail server + mysql NDB cluster + Pfsense HAPROXY failover+HA

I wonder if possible and how to setup what Title says.
I already have 2 pfsense hardware, with haproxy for lot of websites.
Haproxy frontend delivery example.com to the most free backend.
What  i want is to install 2 new server with 2 iredmail in but both point to mysql ndb cluster already existing.
So pfsense when receive 25, 143 or 587 tcp, will redirect to one of the 2 email servers.
i already set it up, but haproxy wont redirect those tcp requests, 25,143,587.
any idea?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: 2 iredmail server + mysql NDB cluster + Pfsense HAPROXY failover+HA

You could use Pacemaker for HA with MySQL. Do not use MySQL NBD, Galera is far superior. With 2 Mail Servers you could have a secondary MX to have more DR capabilities.