Results 1 to 2 of 2

Thread: Move an Mailaccount from one Master/Replica to another

  1. #1
    Join Date
    Dec 2009
    Posts
    75
    Rep Power
    6

    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.

  2. #2
    Join Date
    Dec 2009
    Posts
    75
    Rep Power
    6

    Default

    No suggestions?
    Release 7.1.2_GA_3268.UBUNTU8_64 UBUNTU8_64 NETWORK edition.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •