Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a CentOS 5.5 64 bit mail server running Postfix. I want to do load balancing of mails sent/received to this server.

My Postfix MTA will relay mail to other two servers who will perform the SMTP service to send or receive mail messages.

Can anybody help me with this?

share|improve this question
Could you add the reason you want to load-balance to your question? What resource have you run out of - CPU, RAM, IOPS, open network connections, bandwidth, inodes, something else? – Ladadadada Mar 17 '12 at 12:22
up vote 0 down vote accepted

You can try haproxy in TCP mode. I tried it before to load balance incoming SMTP traffic on several SMTP servers (postfix), and it worked fine. You can also allow connections coming from specific IP addresses only if applicable in your case.

share|improve this answer
ok i will try this and inform you. – achal tomar Mar 17 '12 at 9:56
Is there any other method to do this like creating multiple postfix instances and transfer of mail load to them by changes in file of postfix. – achal tomar Mar 17 '12 at 10:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.