Postfix Load-balancing, the god's architecture

With Artica SMTP appliance and Artica Load-balancing appliance, your able to provide an SMTP load-balancing architecture without loosing sources IP addresses in order to fight SPAMs.

Architectures

The load-balancer can be used in standard mode and can be associated for each MX you have set in your public DNS.
In this architecture if the first load-balancer is down or any backend SMTP server are down, mails will switched to the MX2.

loadbalance-smtp1.png

The load balancer forward the IP adress source to the backend servers. In this case, you can play with datacenters and forward connections trough the cloud on each datacenter.

 loadbalance-smtp2.png

You can use the same architecture locally by serving multiple Postfix instances.

 loadbalance-smtp3.png

Implementation on the load-balancer

  • Create a new Load-balancer service using TCP method and with Use SMTP protocol enabled

11-07-2012_13-47-32.png

  • When adding backend, enable the SMTP Proxy support option in order to force the load-balancer to connect to the SMTP backend using the specific proxy protocol in order to forward the IP source address.

11-07-2012_13-50-57.png

Implementation on Backends

On the Artica SMTP appliances that are designed to receive connections from the load-balancer:

If you using single instance,

  • Select Postfix MTA Mail system.
  • Click on Service tab.
  • Click on Load-balancing support icon.
  • Turn to green the Activate Load-balancer compliance.

11-07-2012_13-58-37.png

If you using multiple postfix instances:

  • Select your SMTP instance.
  • Click on Routing & network tab.
  • Click on Load-balancing support icon.
  • Turn to green the Activate Load-balancer compliance.

11-07-2012_14-02-55.png