Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-02-2008, 07:16 AM
Junior Member
 
Posts: 5
Default Split Domain Migration

I am planning to use the split-domain setup for an exchange to zimbra migration, so that users who are not migrated, can still be mailed from migrated users. I am clear on the process to implement my Zimbra box, as the secondary server, but I am not clear on how to remove the forwarding action, after all migrations are completed, and the exchange server is removed. I don't want the Zimbra server to continue to push non-existing accounts into the abyss.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 04-02-2008, 07:56 PM
Moderator
 
Posts: 6,237
Default

After you migrate the data (exchange migration wizard/imapsync/PST migration wizard/whatever):

If primary - remember you had set:
Quote:
zmprov ma user@domain.com zimbraMailTransport smtp:exchange.example.com:25
When you are ready to move a user from the old system to the new system just run this command:
Quote:
zmprov ma user@domain.com zimbraMailTransport lmtp:zimbra.domain.com:7025
If secondary - to remove just null out the values you set:
Quote:
zmprov md domain.com zimbraMailCatchAllAddress ""
zmprov md domain.com zimbraMailCatchAllForwardingAddress ''
zmprov md domain.com zimbraMailTransport lmtp:server.domain.com:7025
If you continued on in that article, it goes:
Quote:
2. We also highly recommend that, in a secondary Zimbra system, you turn off DNS lookups and internet wide message routing from the secondary host and route all mail through the primary. You can accomplish this by:
$ zmprov mcf zimbraMtaRelayHost mail.example.com
$ zmprov mcf zimbraMtaDnsLookupsEnabled FALSE
So of course you will need to null/change those back as well if you modified them.
Reply With Quote
  #3 (permalink)  
Old 04-02-2010, 06:50 AM
Advanced Member
 
Posts: 191
Default

Mmorse. I have 2 questions for you.
Q1. How do you check your catchall settings on zimbra (command)

Q2. Are you refering to this 3 commands to make zimbra the primary server:
Quote:
$ zmprov md example.com zimbraMailCatchAllAddress @example.com
$ zmprov md example.com zimbraMailCatchAllForwardingAddress @example.com
$ zmprov md example.com zimbraMailTransport smtp:mail.example.com
I will like to know more. Thanks

P/S
In addition to the above question, do I have to enable dnslookup?

Last edited by borngunners; 04-02-2010 at 08:17 AM..
Reply With Quote
  #4 (permalink)  
Old 04-02-2010, 09:07 AM
Moderator
 
Posts: 883
Default

Quote:
Mmorse. I have 2 questions for you.
Not Mmorse, but I will try to help.

Quote:
Q1. How do you check your catchall settings on zimbra (command)
As zimbra user, 'zmprov gd <domain name> | grep <setting name>

Quote:
Q2. Are you refering to this 3 commands to make zimbra the primary server:
You use these 3 commands when you initially want to setup the Zimbra server as secondary. When you are ready to make Zimbra the primary you have to undo the settings as described in Mike's reply.
Reply With Quote
  #5 (permalink)  
Old 04-02-2010, 09:50 AM
Advanced Member
 
Posts: 191
Default

Thanks Soxfan. My last question in the post was, do I have to enable the dnslookup once it is set as the primary email server.

Also, to confirm, if zimbra is the primary server now, does it mean emails coming to my email account @mail.account.com will be delivered to mail.account.com. As it is now, mail.account.com is on zimbra.mail.account.com.

So, if I am to make zimbra the primary server, I will have to do the following:

Quote:
zmprov md mail.account.com zimbraMailCatchAllAddress ""
zmprov md mail.account.com zimbraMailCatchAllForwardingAddress ""
zmprov md mail.account.com zimbraMailTransport lmtp:zimbra.mail.account.com:7025

Last edited by borngunners; 04-02-2010 at 10:00 AM..
Reply With Quote
  #6 (permalink)  
Old 04-02-2010, 10:46 AM
Moderator
 
Posts: 883
Default

Quote:
My last question in the post was, do I have to enable the dnslookup once it is set as the primary email server.
Yeah, I saw this question, but didn't want to steer you in the wrong direction. I don't think this is really a Split Domain thing. I would suggest that you look over the documentation, wiki, and forums for info on this setting.

Quote:
Also, to confirm, if zimbra is the primary server now, does it mean emails coming to my email account @mail.account.com will be delivered to mail.account.com. As it is now, mail.account.com is on zimbra.mail.account.com.
I'm a little confused now. In a traditional Split Domain migration you would have users for the same email domain (let's say domain.com) spread out over two servers (perhaps more) - say old-server.domain.com and zimbra.domain.com. Once you migrated all the users off of old-server.domain.com you are ready to make zimbra.domain.com you're primary server. You would then reverse the catch-all settings, as you've indicated. Then assuming you've got everything setup as far as DNS/MX records and whatnot the zimbra.domain.com server should start handling all email for domain.com
Reply With Quote
  #7 (permalink)  
Old 04-02-2010, 11:14 AM
Advanced Member
 
Posts: 191
Default

Quote:
I'm a little confused now. In a traditional Split Domain migration you would have users for the same email domain (let's say domain.com) spread out over two servers (perhaps more) - say old-server.domain.com and zimbra.domain.com. Once you migrated all the users off of old-server.domain.com you are ready to make zimbra.domain.com you're primary server. You would then reverse the catch-all settings, as you've indicated. Then assuming you've got everything setup as far as DNS/MX records and whatnot the zimbra.domain.com server should start handling all email for domain.com
This is similar to what I was asking. The old server mail.account.com and the new server zimbra.mail.account.com. I created a domain of mail.account.com in to zimbra.mail.account.com. So now that I have migrated all the users from the old server mail.account.com in to the new server zimbra.mail.account.com, I now want to make the new server as the primary server. But all accounts are users@mail.account.com instead of users@zimbra.mail.account.com. Because I want to still keep my old server domain name....
Reply With Quote
  #8 (permalink)  
Old 04-02-2010, 12:07 PM
Moderator
 
Posts: 883
Default

Quote:
This is similar to what I was asking. The old server mail.account.com and the new server zimbra.mail.account.com. I created a domain of mail.account.com in to zimbra.mail.account.com. So now that I have migrated all the users from the old server mail.account.com in to the new server zimbra.mail.account.com, I now want to make the new server as the primary server. But all accounts are users@mail.account.com instead of users@zimbra.mail.account.com. Because I want to still keep my old server domain name....
If your new Zimbra server is receiving email for accounts with "@mail.account.com" addresses then you should be fine. If, however, you've configured it such that the addresses on the Zimbra server are are of the form "@zimbra.mail.account.com" then this is not what I would call a "traditional" Split Domain setup (as described in the Zimbra wiki and discussed in these forums) and all bets are off. If the latter is the case then you probably want to search around and start a new thread, if necessary, on renaming a domain in Zimbra.

The server name itself really doesn't necessarily determine the email domain. The email domain is controlled by your Zimbra configuration. So, if the server name of your Zimbra server is zimbra.mail.account.com that's fine; you can still receive email for the "@mail.account.com" domain. You will just have to make sure your DNS/MX records are correct.

I will note that I much prefer the simple "@domain.com" setup, but I don't see any reason why your setup won't work. If others see any fault in this setup/logic please post.
Reply With Quote
  #9 (permalink)  
Old 04-02-2010, 12:32 PM
Advanced Member
 
Posts: 191
Default

Well then I guess we are on the same page... Thanks for your assistant. I just have to change my mx record so my zimbra server is the primary server and then reverse the catchall...
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.