Çaylakpenguen Blog

Postfix smtp outgoing load balancing

I got good workaround for balancing smtp outgoing from postfix mailing list archives(not using expensive real load balancer). suppose we have 4 smtp servers for outgoing email, and we need to configure/load balance like this:

Here’s the configuration :

Postfix section

main.cf (smtp lb/load balancer)

Here’s the configuration :

Dns sections.

named.conf

By default relayhost(in main.cf) will listing all available mx on example.com and randomly shuffles mx with equal preference(Postfix client makes a random selection between equal-preference MX hosts), in this case these mx are our smtp backend for balancing outgoing mail.

 

Source : postfix manual (relayhost)

Kaynak site: https://www.kutukupret.com/2009/10/03/postfix-smtp-outgoing-load-balancing/

( Toplamda 24 , bugün 1 kez ziyaret edilmiştir )

caylakpenguen

Truva Linux takımıyla 2006'da tanışan "Çaylak Penguen" -BASH- betiklerine bayılır. Truva'nıñ çekirdek derleme işleri ile çalışan cd tasarımıyla uğraşmaktadır.

Add comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Web Hosting Sponsorumuz

E-Posta Listelerimiz

FreeBSDRocks Qmail

Ücretsiz Bulut DNS Servisi

Return to Top ▲Return to Top ▲