Results 1 to 3 of 3

Thread: zmmailboxmove question

  1. #1
    Join Date
    Jan 2010
    Rep Power

    Default zmmailboxmove question

    I have been trying to find out what sort of error handling 'zmmailboxmove' performs before exiting. Based on all of the documentation that I have found, the steps are:

    • Run zmmailboxmove
    • Verify that the contents of the moved user look "correct"(implementation left as an exercise for the administrator)
    • Purge old mailbox on previous server.

    I haven't found anything that describes what the states of the initial mailbox and new mailbox are in the event that 'zmmailboxmove' fails and things don't match.

    I know that there is an argument to overwrite the target mailbox; however, is there any way to back out of the move? Or does 'zmmailboxmove' back out and return an error code?

  2. #2
    Join Date
    Jul 2007
    Rep Power


    until you do a purgeold, the mailbox exists on both servers, and if i recall correctly, the only thing that tells it which one to use is the attribute zimbraMailHost. Thats the last thing zimbra changes so if the move fails, it never tells it to use the target host, and should you need to revert you can just switch that back

  3. #3
    Join Date
    Jan 2010
    Rep Power



    Is there a means by which to remove the target host copy? Or is there an automated process that deletes "orphaned" mailboxes? I hate leaving "droppings" on systems, and depending on the reason for the failure, it may be decided that the move should not take place.

    If there isn't, would this manual process work:
    • Change the zimbraMailHost to the original mailbox server.
    • Change the zimbraMailboxLocationBeforeMove to have the hostid and mailboxid on what was the target host.
    • Issue the 'zmmailboxmove -po' at the host which was the target host.

    Or is there a better way?
    Last edited by bhalsema; 07-23-2010 at 01:36 PM.

Similar Threads

  1. zmmailboxmove and "Your session has expired..."
    By AnthonyBurton in forum Administrators
    Replies: 7
    Last Post: 04-05-2012, 10:12 AM
  2. General Question about the License Modell
    By bofh in forum Administrators
    Replies: 0
    Last Post: 07-13-2010, 03:01 AM
  3. Accented characters shown as question marks
    By fcolpron in forum Administrators
    Replies: 5
    Last Post: 08-07-2008, 12:39 PM
  4. server configuration question
    By burnmage in forum Installation
    Replies: 0
    Last Post: 11-08-2007, 03:27 PM
  5. Multiple Domains Question
    By kristiaan_d in forum Administrators
    Replies: 2
    Last Post: 03-14-2007, 04:38 AM

Posting Permissions

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