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 need to maintain some legacy email accounts on an old domain and old server. What needs to happen is if a local mailbox is present the email should be delivered there however should it not exist it needs to be forwarded to the new domain and server with same address eg {address}@olddomain.com to {address}@newdomain.com.

The old mailserver is setup using the following guides:


Thanks for reading this :).

share|improve this question
Why don't you just create a bunch of aliases to forward addresses @olddomain.com to @newdomain.com? It's trickier if both email servers perform final delivery for the same domain (i.e. there is only one domain and users exist on one server or the other) but your case of 2 different domains sounds much simpler. –  Celada Feb 29 '12 at 15:56
That is the current solution but as more accounts are added to the server its a pain to keep updating. –  Kmaid Mar 2 '12 at 16:40
Most local delivery agents, whether based on local accounts or virtual mailboxes, either give an error on unknown mailboxes, or they autocreate missing mailboxes. So I suspect that no matter what you will have to retain a solution that is in some way based on enumerating which mailboxes are in which server. –  Celada Mar 2 '12 at 18:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.