Sunday, January 30, 2011

Exporting Mail from Evolution to Thunderbird.

PREPARATION

Create a new mail account in Thunderbird (this is so that if everything goes pear shaped nothing else will be affected).

In Thunderbird choose Edit -> Account Settings -> Add Account

Select Email Account and click Next
Leave identity settings as they are and click next
Set the Incoming Server to "localhost" and REMOVE the tick from "Use Global Inbox" Click next
Leave the Incoming user name as it is. Click Next
Change the Account Name to something relevant such as "Evolution Mail"

Once the settings are created return to Edit -> Account Settings and select the "Server Settings" option under the "Evolution Mail" account. Take note of the "Local Directory" Setting. It will be a string like "/home/yourloginname/.mozilla-thunderbird/a2ti6rsz.default/Mail/localhost". This is where all mail is stored for this account.

Now that the account is created and you know where to find it (you wrote down the path didn't you?) you can transfer the emails from Evolution.

TRANSFERRING MAIL

Open up two windows to your Home Directory. Navigate in one of the windows to the path that Thunderbird has assigned for your email storage above. HINT: CTRL+h in your home folder will show all hidden files and folders so you will be able to see the ".mozilla-thunderbird" folder. Once you are in this folder you will see some files in there with names such as Inbox, Inbox.msf, Junk.msf and so on.

In the other window from your home folder navigate to ".evolution/mail/local" This is where any locally stored mail from Evolution is placed. There are a similar set of files to what you see in the Thunderbird folder, Inbox, Drafts and so on.

Copy the files named Inbox, Sent, Outbox and Drafts from the evolution folder to the mozilla-thunderbird folder (dragging and dropping while holding down your ctrl key will copy rather than move the files). When it asks if its ok to overwrite them just say yes. Its ok, nothing bad will happen. Its just a copy. You can trust me. Honest.

If you have your mail folders organised in evolution under your Inbox there will be a sub directory called "Inbox.sbd" under the .evolution/mail/local/ directory. In that directory you will find files named the same as your folders such as Humour, Humour.cmeta, Humour.ev-summary, Humour.ibex.index and so on. Of course, this depends on what you've called your folders.

For any of the folders you want to move to Thunderbird chose the file WITHOUT any extension and copy it to the localhost folder where you previously placed the Inbox and other files.

Thats all there is to it! Open Thunderbird and you should see all your mail and the relevant folders under the "Evolution Mail" account. You can keep the mail there or move it around in Thunderbird. The choices are yours.

How to import Evolution mail into Thunderbird
From FedoraNEWS.ORG

Written by Anze Vidmar on 2005-10-18
This is a quick "trick" how to import all your mail from Evolution to Mozilla Thunderbird. Since you won't have an option to Import Evolution mail from "Import" function in Thunderbird, I've decided to show you a workaround.
First, backup your thunderbird config folder. You can do this by copying it somewhere else:
cp -rf .thunderbird/ thunderbird/
Now you are ready to "Import" the Evolution mail. In fact, you only need to copy Inbox file from Evolution to Thunderbird config folder.
Locate the Evolution Inbox file. In my case it's located in
/home/anze/.evolution/mail/config/et-expanded-mbox\:_home_anze_.evoluion_mail_local#Inbox
Now, you need to locate the Inbox file of Thunderbird. In my case it's located in
/home/anze/.thunderbird/wm9pxuw7.default/Mail/Local\ Folders/Inbox
Now the only thing to do is to copy the Evolution Inbox file over thunderbird's Inbox file. This is done by cp .evolution/mail/config/et-expanded-mbox\:_home_anze_.evoluion_mail_local#Inbox .thunderbird/wm9pxuw7.default/Mail/Local\ Folders/Inbox
Restart your Thunderbird after copying the Inbox file over.
If you've done it right, you should have your mail from Evolution in your Thunderbird client.

No comments:

Post a Comment

SEO TOOLS

Check Page Rank of your Web site pages instantly:

This page rank checking tool is powered by Page Rank Checker service