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

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 08-30-2006, 09:36 AM
Intermediate Member
 
Posts: 18
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.
Reply With Quote
  #2 (permalink)  
Old 09-25-2007, 12:52 PM
Junior Member
 
Posts: 5
Default

up to this post i have the same problem.
Reply With Quote
  #3 (permalink)  
Old 09-25-2007, 09:08 PM
Former Zimbran
 
Posts: 5,606
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.
Reply With Quote
  #4 (permalink)  
Old 09-25-2007, 09:26 PM
Moderator
 
Posts: 6,237
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..
Reply With Quote
  #5 (permalink)  
Old 10-07-2007, 07:05 PM
Trained Alumni
 
Posts: 70
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
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.