Load Balancing and Failover for SMTP and IMAP



  • I will setup a new HA mailsystem. For firewall i'm using pfsense so why not use the pfsense also for HA/loadbalancing.
    The question is how to implement that.
    There will be 2 ident mailserver with glusterfs. So the maildata is on both server. Now i need to setup the loadbalancer. I found the loadbancing from pfsense and on the other side the haproxy. This is the one part. The other part is that i need to have 1:1 nat.
    How can this be done?

    If this is the wrong forum please move this topic.



  • Ok i think with the integrated loadbalancer i get this to work. Do i need for every service like smtp, imap,… an own ip address? I don't have so much ips to waste them.



  • @hec:

    Do i need for every service like smtp, imap,… an own ip address? I don't have so much ips to waste them.

    No. You can have on ip for many services.


Locked