Copying Email folder from Old Account to New account in zimbra

zimbra is a nice email server available as open source software.

here is a tip to copy mails from one user account to another user account.

run the following commands in the server.

su – zimbra

zmmailbox -z -m olduser@domain.com getRestURL “//?fmt=tgz” > /tmp/v.tar.gz

zmmailbox -z -m newuser@domain.com postRestURL “//?fmt=tgz&resolve=reset” /tmp/v.tar.gz

these commands copy all the emails from the olduser account to newuser account.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s