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 CENT OS 5.5 64 bit mail server.I want my main postfix mta to relay mails sent or received to multiple postfix instances, the other postfix instances will perform the mail sending and receiving work, i.e. i want to use multiple mta in a single mta because Multiple instances give the freedom to tune each Postfix instance to a single task that it does well and to combine instances into complete systems. . can anyone help me with this.

share|improve this question
2  
You're not providing much useful information to go on here. What exactly is the goal you're trying to achieve ? –  adaptr Mar 15 '12 at 11:40
    
Why not just put a load-balancer in front of multiple mail servers and call it a day? It seems you are creating a single point of failure if you have only one of those "main Postfix MTAs" around. –  Janne Pikkarainen Mar 15 '12 at 11:58
    
Sounds like you are adding complexity just for the sake of it, why not keep the setup simple until you actually have proper requirements. –  HampusLi Mar 15 '12 at 12:29
    
@HampusLi i want this for implementing load balancing in my mail server. –  achal tomar Mar 16 '12 at 7:17

1 Answer 1

Look at http://www.postfix.org/MULTI_INSTANCE_README.html and http://www.postfix.org/postmulti.1.html. Also, http://eric.lubow.org/2010/mail/a-few-words-about-setting-up-postfix-multi-instance/ will give you a quick start, but don't expect it to be a substitute for the other two.

I'm not sure what the support for postmulti is like in Centos, but the support in the init.d script that comes with Debian wheezy's distribution is good, and I expect you could copy the relevant bits. (That script also works verbatim if transferred to Debian squeeze). The init script support is really all you need to integrate with the OS.

share|improve this answer

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.