Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 need to have a split domain setup on Postfix. This is possible with Zimbra which uses Postfix as described here:

If delivering to a single secondary mail system, configure a catchall on the domain to deliver mail to a secondary mail transport if users for the same domain reside on the second system.

  zmpov cd
  zmprov md zimbraMailCatchAllAddress zimbraMailCatchAllForwardingAddress zimbraMailTransport

Mail for Zimbra recipients on the primary system to will be delivered Zimbra mailboxes. Any address that does not exist on the Zimbra system will be routed to the secondary mail transport. This configuration will likely work with 4.5.x, but it has not been tested.

How can I achieve this in Postfix?

share|improve this question

Zimbra is not an MTA; it uses postfix as its MTA component.

Hence, anything Zimbra can do, postfix can too.

I don't understand your question as it is not related to postfix; restate it so it deals with SMTP terms.

share|improve this answer
I want any email address that is not on postfix to be delivered to a secondary mail transport, depending on the domain. Just like the instructions for zimbra above state. – luthan Feb 1 '13 at 14:29
relay_domains = other.domain1, other.domain2 – adaptr Feb 1 '13 at 14:32
My "local" users are actually in ldap (on exchange), so already by default, the email is relayed to them. I already have a relay_domains file that lists all the domains we manage. – luthan Feb 1 '13 at 14:43

I was going to setup Postfix like this as well, migrating from a Qmail server. With 14 domains and having issues with the Qmail setup, it was easier to go with Zimbra.

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.