Results 1 to 9 of 9

Thread: Split Domain Migration

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    7

    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!

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

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

    If primary - remember you had set:
    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:
    zmprov ma user@domain.com zimbraMailTransport lmtp:zimbra.domain.com:7025
    If secondary - to remove just null out the values you set:
    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:
    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.

  3. #3
    Join Date
    Jun 2009
    Posts
    195
    Rep Power
    6

    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:
    $ 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 09:17 AM.

  4. #4
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

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

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

    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.

  5. #5
    Join Date
    Jun 2009
    Posts
    195
    Rep Power
    6

    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:

    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 11:00 AM.

  6. #6
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    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.

    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

  7. #7
    Join Date
    Jun 2009
    Posts
    195
    Rep Power
    6

    Default

    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....

  8. #8
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    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.

  9. #9
    Join Date
    Jun 2009
    Posts
    195
    Rep Power
    6

    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...

Similar Threads

  1. Split Domain Confusion
    By hurstel in forum Installation
    Replies: 8
    Last Post: 06-02-2008, 06:49 AM
  2. Replies: 20
    Last Post: 03-18-2008, 06:37 AM
  3. Replies: 1
    Last Post: 10-26-2007, 09:21 AM
  4. Split Domain w/Sendmail
    By psimoneschi in forum Migration
    Replies: 4
    Last Post: 02-09-2007, 07:59 AM
  5. Migration issue with split domain & multi-servers
    By adminsmc in forum Migration
    Replies: 3
    Last Post: 12-17-2006, 09:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •