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 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 example.com
  zmprov md example.com zimbraMailCatchAllAddress @example.com zimbraMailCatchAllForwardingAddress @example.com zimbraMailTransport smtp:mail.example.com:25

Mail for Zimbra recipients on the primary system to @example.com 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
add comment

2 Answers

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
add comment

http://www.postfix.org/VIRTUAL_README.html

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
add comment

Your Answer

 
discard

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.