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 a situation, where i have about 20,000 emails hosted on a server with domain Out of those 20,000, there are 20 email accounts, for which i want my MX servers, to route their emails to another Postfix server, which is is latest and updated. Reason for doing this is that i have same domain name , for all of 20,000 email address. i want to keep the domain name same, but route emails of 20 unique email address to another server.

Is that possible? if yes how? May be i have to use postfix transport tables on MX servers?

share|improve this question
up vote 3 down vote accepted

You can use transport maps

transport_maps = hash:/etc/postfix/transport

/etc/postfix/transport smtp:[remote.postfix.ip.address] smtp:[remote.postfix.ip.address] smtp:[remote.postfix.ip.address]
... smtp:[remote.postfix.ip.address]

Don't forget to create map file and restart the postfix

# postmap /etc/postfix/transport
# service postfix restart
share|improve this answer
is it possible that i can save a copy of email to source server and send that email to other server as well? – Farhan Feb 13 '14 at 15:58
Yes, it is. You can use separate email address/virtual_alias_maps or use something like procmail – ALex_hha Feb 13 '14 at 17:05

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.