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

There was a question about open relays asked previously.

I have a new CentOS 6 server handling multiple domains for several customers.

On the previous server (which was running CentOS 4), I had sendmail configured to handle incoming mail for several domains.

The goal is to replicate the old functionality on the new server - but my experience with administering mail is limited.

Ideally, I want a given mailbox to be addressable via any of the allowed domains. Eg & should be the same inbox (since the user exists on the same server).

Ultimately, I anticipate we will be splitting mail and web traffic, but the traffic demands just aren't that high yet.

How can postfix be configured to handle multiple incoming domains for the same mailboxes?

share|improve this question
So what is your question? – mailq Oct 4 '11 at 22:16
@mailq - see summation added – warren Oct 4 '11 at 22:26
Way too broad. Aliases is the key. But you don't say how you configured the mailboxes. First doc to read: – mailq Oct 4 '11 at 22:44
@mailq - they are standard Unix users – warren Oct 5 '11 at 1:19
Then I don't know where your problem is. Postfix delivers out-of-the box to Unix accounts. As long as the are of type username@hostname. – mailq Oct 5 '11 at 17:36
up vote 5 down vote accepted

In your you need to set your mydestination parameter.

it should have something like:

mydestination = $myhostname, localhost.$mydomain, $mydomain

You need to change it to:

mydestination = $myhostname, localhost.$mydomain,,

More info on the parameter:

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.