Migrating Mail from Zimbra Desktop to IMAP Server
      by Wyatt WalterThe Zimbra Desktop mail client is a great mail client that gives the look and feel of the Zimbra Collabroation Suite, but the migration path out of the client has been less than easy. I wrote up a quick tutorial on steps that I took to help someone pull their email they had downloaded via POP into ZD and had gotten stuck there.
To do the export of the data, I used the built-in export utility inside of Zimbra Desktop. For the migration into an IMAP account (or a Zimbra Collaboration Server account) I used Thunderbird with the MboxImport enhanced add-on. I’m assuming you have already setup the account in Zimbra Desktop and pulled down the emails you want to export. I’m using Mac OS X to do the export, though it should work assuming you can get a file to extract the gzipped tarball from Zimbra Desktop.
First, I started with exporting from Zimbra Desktop. I went to the Account Setup page using the bottom on the top-right.
In the account setup screen, click on the account you want to migrate.
On the bottom-left, click on the Manage Data button.
Click on Export.
Type in the name you want to give the file, then click on Export.
Then you’ll be prompted to save the file. Save the file wherever you would like. Mine saved to my Downloads directory.
For some reason, it didn’t actually name the file the way it was supposed to when I downloaded it it, so I renamed the file to example.tar.gz and double-clicked it to extract. If you’re using Windows, 7-zip can extract the file.
When you extract the file, you can open the folder and find directories for each folder of the mail you had. Inside those folders, there will be .eml files for each email. If you have more than 500 messages in a folder, the export breaks them up into multiple folders and append a number to the end of the name.
Now we’re ready to import into Thunderbird. It’s useful at this point if you account is setup already, but not necessary. First, we’ll have to create a temporary local folder to import into. Right-click on the Local Folders in Thunderbird and click on New Folder. You can name it whatever you like, it will be cleared out eventually anyway.
Then, select the new folder we created. Then, in the Thunderbird menu, go to Tools -> Import/Export in mbox/eml format -> Import all eml files from a directory -> also from its sottodirectories.
When prompted, navigate to your extract Zimbra Desktop export directory and click Choose.
The utility will import your messages into the temporary directory.
Depending upon the server that you are using, you may have to be careful with drag-and-dropping your messages into your IMAP account. You can do it, but beware: it may mess up timestamps on messages. For Zimbra we have a little trick we can use. When setting up the account, simply append “/tb” to the end of your username. For my example, my email address was example@whatan00b.com, so my username that I used to authenticate was “example@whatan00b.com/tb”. Once you know how about the consequences of drag-and-drop inside your mail client, just drag all of your messages into their appropriate folders. Here’s my messages now in the Zimbra web client:
Related Posts- Why Windows Needs 'the Cloud' To Fail Buzzwords and hype aside, the world is moving towards a...
- Zimbra 6.0 Beta: A first look Over the weekend Zimbra announced the availability of the first...
- Lose The Driver Disk, Install Linux! I find it absolutely amazing how far Linux distros have...
- Beta: Greek for Better? While perusing forums and blogs, I've noticed a trend that...
- Deleting e-mail accounts However, you can’t delete the original e-mail address you used...
- How do i get my motorola rizr z3 games to work? Ok, so i went and got games for my phone...
- Introduction to Brokerage Accounts What is a brokerage account, and how can it benefit...
- Wordpress Backup Wordpress Backup is an essential plugin for all Wordpress blog...
Tags: import, thunderbird, zimbra, zimbra desktop
Filed under How-Tos / Tips :
Comments (11) :
Nov 3rd, 2008















November 4th, 2008 at 2:15 pm
[...] bit of time to run through a quick tutorial and posted on my blog in case anyone is interested… Migrating Mail from Zimbra Desktop to IMAP Server | What a n00b! __________________ Zimbra Hosting VAR What a [...]
November 7th, 2008 at 5:54 pm
[...] Walter has a great tutorial on the process for migrating email from Zimbra Desktop to any IMAP server: The Zimbra Desktop mail client is a great mail client that gives the look and feel of the Zimbra [...]
January 8th, 2009 at 3:20 pm
Hi thanks for the tutorial. I have a question that might be silly, but I haven’t figured it out yet: how can import mail from thunderbird to zimbra desktop? I’ve already installed the MboxImport enhanced. suggestions?
thanks
January 8th, 2009 at 11:08 pm
Ana,
The only easy way I can think of is to push the mail up to a Gmail account or some other free IMAP service and then pull it back down to Zimbra Desktop… Not the most elegant but it wouldn’t take terribly long.
January 9th, 2009 at 1:36 pm
Thanks, I just did that. True, not elegant, but it worked.
January 17th, 2009 at 1:13 am
Can you give more information on this?
January 17th, 2009 at 1:51 am
You want more information on pushing the email into Gmail or more information in general? For Gmail, you can setup your Gmail account in Thunderbird in the very last paragraph instead of in the Zimbra server that I used as an example. It really doesn’t matter what type of IMAP server, as long as it’s IMAP. To setup Thunderbird with Gmail, you have to enable it in your Gmail account settings and then the instructions for setting up the server in Thunderbird can be found here: http://mail.google.com/support/bin/answer.py?answer=77662
March 2nd, 2009 at 5:36 pm
Thank you for your help!
March 15th, 2009 at 2:01 pm
I’ve never given this a try, but I think it’s about time I do.
March 28th, 2009 at 2:59 am
Are there any Email hosting that you can recommend me?
April 2nd, 2009 at 8:53 pm
Well.. I just so happen to work for a Zimbra provider.