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 want to installing two or more qmail on same linux server.Is this possible? If it's possible how can I do that?

Actually I want to send mails from the different domain names and different IP addresses.For instance; > > >

If it's not possible, what's your recommendation?


share|improve this question

migrated from Jun 29 '12 at 22:35

This question came from our site for professional and enthusiast programmers.

It is quite possible, although pointless. QMail can handle different domains just fine. (see ) Nevertheless, if you definitely want multiple instances I would suggest to chroot them. (And provide different /etc/hosts to them!)

share|improve this answer

If your only requirement is for each domain to use a different IP to send emails there is no need to install different instances of QMail.

I would highly recommend to use JMS's combined patch that has this functionality as well as a number of other enhancements.

Once you have that the functionality controled is by the control/senderip file in the form


Any mail sent from an email address from that particular domain will be sent from the given IP address.

share|improve this answer

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.