My System (Free Edition):
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 ^^.
firstname.lastname@example.org has 2 mails, the mailbox lies on Replica01
"Move" the mailbox to Replica02
zmprov ma email@example.com zimbraMailHost replica02.my.local
Now the testuser mailbox lies on Replica02 but all Mails are away!
"Move" the mailbox back
zmprov ma firstname.lastname@example.org 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.
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)
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?