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.
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.
up to this post i have the same problem.
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.
steppenwolfm, is this on the same zcs setup like preston's:
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).Originally Posted by preston
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:
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)Code:zmprov -l renameDomain (or 'rd' for short) domain.com newDomain.com
Last edited by mmorse; 10-07-2007 at 07:18 PM.
-Mike Morse (MCode151)
ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
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:
This will move user from olddomain.com to newdomain.comCode:zmprov ra user@olddomain.com user@newdomain.com
There are currently 1 users browsing this thread. (0 members and 1 guests)