Page 1 of 1

Question about Split Domain setup

Posted: Wed May 03, 2006 3:39 pm
by ericding
I've a question about the split domain setup as described in the wiki. If I set up zimbra.example.com to be the secondary server (so that mail first goes to the primary server, let's call it mail.example.com), then:
1) mail sent from the Internet to a user on mail.example.com goes directly to that user.

2) mail sent from a user on zimbra.example.com to a user on mail.example.com gets forwarded on as a wildcard unknown by zimbra.
But what about mail sent from the Internet (or a user on mail.example.com) to a user on zimbra.example.com? I'm running Postfix on my primary server, and I don't know what the equivalent might be to what the wiki suggests for Zimbra as a primary server, i.e., zmprov ma bar@example.com zimbraMailTransport smtp:mail.example.com. How do I tell Postfix to forward a particular virtual domain user to another machine for be handled there?
For example, I don't think simply aliasing bar@example.com to bar@zimbra.example.com will work; that's not how the user's known to the zimbra server, right? Or could I somehow create a mapping on the Zimbra system (forgive me for thinking aloud as I write) from @zimbra.example.com to @example.com, so that it handles such addressing?
Thanks,

Eric

Question about Split Domain setup

Posted: Thu May 04, 2006 8:26 am
by rsharpe
This will require you to edit your transport map with something like this:
bar@example.com smtp:zimbra.example.com

Question about Split Domain setup

Posted: Thu May 04, 2006 9:38 pm
by ericding
Hmm... I think I follow you. But maybe I'm missing something; how would bar@example.com be specified in the virtual alias table? It has to be in there in order for Postfix to know about it...

Question about Split Domain setup

Posted: Fri May 05, 2006 7:09 am
by ericding
Actually, I found another way to do it... each of my Zimbra accounts on my primary server now have an alias line like so:
bar@example.com bar@zimbra.example.com
and then in my transport map, I have
zimbra.example.com smtp:[actual hostname of Zimbra server]
Thanks for reading!