Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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 main.cf file of postfix. –  achal tomar Mar 17 '12 at 10:06

Your Answer

 
discard

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.