This command is used to move a mailbox from one Zimbra server to another. Mailboxes can be moved between Zimbra servers that share the same LDAP server. All the files are copied to the new server and LDAP is updated. After the mailbox is moved to a new server, a copy still remains on the older server, but the status of old mailbox is closed. Users cannot log on and mail is not delivered. You should check to see that all the mailbox contents were moved successfully before purging the old mailbox.

This command is used to move a mailbox from one Zimbra mailbox server to another. Mailboxes can be moved between Zimbra servers that share the same LDAP server. All the files are copied to the new server and LDAP is updated. After the mailbox is moved to a new server, a copy still remains on the older server, but the status of old mailbox is closed. Users cannot log on and mail is not delivered. You should check to see that all the mailbox contents were moved successfully before purging the old mailbox. This is a Network Edition only command.

==Syntax==

==Syntax==

Line 8:

Line 16:

To purge the mailbox from the old server, type:

To purge the mailbox from the old server, type:

−

zmmailboxmove -a <email@address) -po

+

zmmailboxmove -a <email@address> -po

The mailbox and its contents and references are deleted from the server.

The mailbox and its contents and references are deleted from the server.

Line 56:

Line 64:

'''''Note:'''-t and -po options are mutually exclusive. Use -t option to move a mailbox from the current server to the new server specified by the option. If -ow is specified, if a mailbox already exists for the target server, it is overwritten. After successfully moving the mailbox, use

'''''Note:'''-t and -po options are mutually exclusive. Use -t option to move a mailbox from the current server to the new server specified by the option. If -ow is specified, if a mailbox already exists for the target server, it is overwritten. After successfully moving the mailbox, use

- This is certified documentation and is protected for editing by Zimbra Employees & Moderators only.

Deprecated since 7.1.x, replaced by Zmmboxmove, removed from the code starting in ZCS 8.7

This command is used to move a mailbox from one Zimbra mailbox server to another. Mailboxes can be moved between Zimbra servers that share the same LDAP server. All the files are copied to the new server and LDAP is updated. After the mailbox is moved to a new server, a copy still remains on the older server, but the status of old mailbox is closed. Users cannot log on and mail is not delivered. You should check to see that all the mailbox contents were moved successfully before purging the old mailbox. This is a Network Edition only command.

Syntax

The mailbox and its contents and references are deleted from the server.

Description

Long Name

Short Name

Description

--account <arg>

-a

Email address of account to move.

--help

-h

Displays the usage options for this command.

--overwriteMailbox

-ow

Overwrite target mailbox, if it exists.

--purgeOld

-po

Purge old mailbox on previous server. After a mailbox has been successfully moved to a new server, perform purgeOld to remove the mailbox and its contents from the previous server.

--server <arg>

-s

Mail server hostname. The default is the localhost. Server where the --account mailbox is located.

--targetServer <arg>

-t

Server where mailbox is moved to.

Note:-t and -po options are mutually exclusive. Use -t option to move a mailbox from the current server to the new server specified by the option. If -ow is specified, if a mailbox already exists for the target server, it is overwritten. After successfully moving the mailbox, use
-po option to purge the old mailbox on the original server.