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)