With the advent of Ubuntu 11.10 Oneiric Ocelot has come the reintroduction of Thunderbird as the default mail client in Ubuntu. If you wish to make the transition (as I do, I prefer Thunderbird over Evolution), you need to know how to migrate/import your email. Almost all of the instructions I found on the internet are from 2007 and are obsolete. The most updated instructions are (of course), here:
http://kb.mozillazine.org/Importing_and_exporting_your_mail
You can’t just copy files over like you could in the old days. Now, there is a three (or four) step process.
Account Setup
Sorry, you have to re-configure the accounts yourself. Go to Edit > Account Settings…, and create your email account(s).
Contact Import
Click the Contacts button in Evolution, and click File > Save Address Book as vCard. Save it to a convenient place, then switch over to Thunderbird. Select Tools > Import…, select the Address Books option, click Next, select vCard, click Next, and select the file you saved in Evolution.
Email Import
This part’s a bit tricky. The deal is, you can only transfer one folder at a time. I don’t mean one tree-top, I mean one folder in the hierarchy. This is fine if you don’t have too many folders (Inbox, Sent, Trash, etc.). It will be a bit more time-consuming if you have created more organizational folders.
Go back to Evolution, select a folder, and select all emails in that folder. Select File > Save As mbox…. For the name of the file to save, enter the name of the folder you’re exporting at the moment. Do this for every single folder and sub-folder.
When you finish, go back to Thunderbird. Install the ImportExportTools addon, and restart Thunderbird. Right-click on your email account, and click Import/Export > Import mbox file. Select the second radio button, click OK, and choose a (top-level) file you exported from Evolution. Voilà! Your email folder appears. It may not be where you want it to be though. Drag stuff around until it’s the way you want it. The folder will be placed inside of the folder you selected when you chose to import the mbox file.
Calendar
What’s that? Thunderbird doesn’t have a calendar? No, but there is an excellent addon that gives you that. It’s called Lightning. Install it from the addon manager. In Evolution, right-click on a calendar and select Save As. Save in a convenient location as a .ics file. In Thunderbird, select Events and Tasks > Import…, and choose the calendar you exported from Evolution. For info on setting up Google Calendars, see this forum thread.
Finito!
You’re welcome. Please link to this post!
Problems? Comments? There is a place for that below.