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 two forms of the same domain name, one being a common misspelling of the other, let's say and

I'd like to redirect all mail for <someone> to that same <someone>

There's plenty of information on how to catch all mail from a domain and redirect it to a single address, but I don't want to do that - I want to catch all mail from a domain and redirect it, keeping the username part, and remap it to the equivalent address on the other domain.

Sorry, I should have mentioned that I use virtual alias domains and have a lot of other domains that I serve email for on this server. These two domains are the only two of many that need to mirror each other.

share|improve this question
up vote 10 down vote accepted

Add to your virtual_alias_domains list and then in your virtual file add:

According to virtual(5) when the result has the form @otherdomain the result becomes the same user in otherdomain. So @tedswigets will catch all emails and the @tedswidgets in the result will cause it become

share|improve this answer
Thanks, this looks right. – thomasrutter May 9 '11 at 0:36
It's not presently necessary to do anything with virtual_alias_domains, just the part in the virtual file is sufficient. – Simon Woodside Jun 10 '13 at 22:00
The virtual file is the virtual_alias_domains list. – thomasrutter Jul 7 '14 at 1:02

You could add this another domain to postifx mydestination list. See

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.