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 04-28-2010, 02:43 AM
Senior Member
 
Posts: 73
Default Move an Mailaccount from one Master/Replica to another

Hi

My System (Free Edition):

Master01: zcs-6.0.5_GA_2213.UBUNTU8.20100202225756
Repica01: zcs-6.0.5_GA_2213.UBUNTU8_64.20100203012906
Repica02: zcs-6.0.5_GA_2213.UBUNTU8_64.20100203012906

On each machine is an mailserver installed.

If i create an user with "zmprov ca ..." i can set on whitch server the mailbox for this account is stored (zimbraMailHost).

Now i have the folowing problem:
Some useres leave their destination (Replica01) and work now on another destination (Replica02). So i have to move the mailboxes from one server to another.

The Network Edition supports this in the gui. With the Free Edition it is not this easy ^^.

Current behavior:
testuser@my.local has 2 mails, the mailbox lies on Replica01

"Move" the mailbox to Replica02
zmprov ma testuser@my.local zimbraMailHost replica02.my.local
Now the testuser mailbox lies on Replica02 but all Mails are away!

"Move" the mailbox back
zmprov ma testuser@my.local zimbraMailHost replica01.my.local
The mailbox is now back on Replica01 and the mails are also there.

So the command does not move the mailbox. It creates a new mailbox on the new server and let all mails behind on the old server.

Workarounds:
1: I create an tempuser on Replica02. Migrate all the mails from testuser to the tempuser, delete the testuser and rename the tempuser to testuser.
Problem -> User properties (password, ...) are lost

2: I create an tempuser on Replica02. Migrate all the mails from testuser to the tempuser, delete all mails from the testuser account. Move the the testuser from Replica01 to Replica02 and migrate back the mails from the tempuser to the testuser. After this delete the tempuser.
Problem -> Migrate all Mails 2 times (slow)

Questions:
1: Has someone a better idea to do this?
2: Is there maybe a way to copy the "mail files" with rsync or anything else to the new server? Where and how are the mails stored?
3: Have I overseen something in my workarounds? Would I get problems on this way?

yogg
__________________
Release 7.1.2_GA_3268.UBUNTU8_64 UBUNTU8_64 NETWORK edition.
Reply With Quote
  #2 (permalink)  
Old 05-11-2010, 12:55 AM
Senior Member
 
Posts: 73
Default

No suggestions?
__________________
Release 7.1.2_GA_3268.UBUNTU8_64 UBUNTU8_64 NETWORK edition.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.