Results 1 to 5 of 5

Thread: move accounts to a diff domain

  1. #1
    Join Date
    May 2006
    Location
    Philadelphia
    Posts
    18
    Rep Power
    9

    Default move accounts to a diff domain

    My zimbra server has 2 domains on it, I would like to move all my accounts to the second domain. What is the best way to do that.

    I am most likely going to delete the first domain.

  2. #2
    Join Date
    Jan 2007
    Posts
    5
    Rep Power
    8

    Default

    up to this post i have the same problem.

  3. #3
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    I'm not sure there's an official way.

    The first way I thought about was to create accounts, and imapsync them.

    Everything in zimbra is exportabile/importable with the exception of notebooks.

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

    Default

    steppenwolfm, is this on the same zcs setup like preston's:
    Quote Originally Posted by preston
    My zimbra server has 2 domains on it, I would like to move all my accounts to the second domain
    This won't be fun with a large # of accounts - but in the admin console gui you can just change the drop down box in the individual account > general tab to the other domain (just to the right of where you assign a username).

    zmprov would be ra (renameAccount)
    zmprov ra user@domain1.com user@domain2.com

    If you neeed to set the which domain is default there's:
    zmprov mcf zimbraDefaultDomain domainthatyouwantdefault.com

    In v5beta2/3 there's a command to rename the entire domain:
    Code:
    zmprov -l renameDomain (or 'rd' for short) domain.com newDomain.com
    So if you hadn't made the 2nd domain yet (or if there wasn't anything on it delete it) then you would just rename the 1st. (and of course if you still needed the first domain address later you could re-create it)
    Last edited by mmorse; 10-07-2007 at 07:18 PM.

  5. #5
    Join Date
    Oct 2007
    Location
    Columbus, OH
    Posts
    70
    Rep Power
    8

    Default Untimely Answer

    I realize that by now the original poster probably has already figured out a way to do it. I was trying to figure out this same problem and found the "RenameAccount(ra)" command for zmprov.

    So you do:
    Code:
    zmprov ra user@olddomain.com user@newdomain.com
    This will move user from olddomain.com to newdomain.com

Similar Threads

  1. Replies: 5
    Last Post: 07-06-2010, 02:44 AM
  2. Replies: 4
    Last Post: 07-13-2006, 08:55 PM
  3. domain coexistence
    By marcmac in forum Administrators
    Replies: 14
    Last Post: 06-30-2006, 01:19 PM
  4. Unable to Move Users to a Domain or Delete Domain
    By Justin Rock in forum Administrators
    Replies: 2
    Last Post: 10-06-2005, 12:23 PM

Posting Permissions

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