Moving Outlook email (data) to Linux Evolution mail client

by on July 6, 2006 · 27 comments· LAST UPDATED July 6, 2006

in

First I thought switching from MS-Outlook to Linux Evolution mail client will be easy. Evolution does not offer any easy method to import data directly from Outlook. After searching bit, I found solution:

MS-Outlook -> Import using Mozilla Thunderbird Under Windows -> Import using Evolution under Linux

You know, that is why I like the idea of using an IMAP server. No need to worry about import and export stuff. All you need to do is reconfigure Evolution/Thunderbird under Linux.

Anyway here is what I did to migrate from MS-Outlook to Linux client:

Step # 1: Import mails from Outlook using Thunderbird

  • Download thunderbird for Windows XP
  • Install Thunderbird
  • Start Mozilla Thunderbird
  • Do not setup Thunderbird as your default email client.
  • Since this is your first run, it will prompt you to import mail and other settings.
  • At Import dialog box, select Mail > Next
  • Select Outlook > Next
  • Within few minutes it will migrate all emails from Outlook to Thunderbird. Click Finish and shutdown Thunderbird application.

Step # 2: Transfer Thunderbird mail to Linux desktop

First, you need to find out your profile folder under Thunderbird application (you can also use Windows Explore to find out Thunderbird profile folder):.
Click on Start > Run > Type the command

cmd

And hit [Enter] key

Type the following commands to locate Profile folder:

C:> cd %APPDATA%\\Thunderbird
C:> cd Profiles

Now locate directory called "Local Folders". Again use CD command to go to Local Folders:

C:> cd "Local Folders"
C:> cd "Outlook Mail.sbd"

Copy all files from "Outlook Mail.sbd" folder to USB pen or use network connection to copy files to your Linux home-directory (~/.mozilla-thunderbird)

You are done. Now you can open mail using Linux thunderbird client.

Step #3: Import mail to Evolution

Copy all mails (files) from ~/.mozilla-thunderbird to ~/.evolution/mail/local directory.

Or, use GUI tools. Open Evolution > Click on File > Import. This will start Evolution Import Assistant program. Now just follow on screen instruction.

This is fine, if you have 1-2 desktop system. Now, just imagine having 250+ desktop system migrations from Outlook to Evolution. If anyone aware of bulk import or export method just comment it back below :)

See also:

  • Don’t forget to visit mozillazine migration articles. It will save lots of time for sure :D
TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!
1 needee February 9, 2007 at 10:18 am

I am using outlook 2003… configured the pst file.

I followed the instructions…but thunderbird fails to import pst from outlook

following eror
An error occured importimg mail from outlook
Error importing mailbox, unable to create destination mailbox.
Error creating destination mailboxes,cannot find mailboxes

2 Daniel May 8, 2007 at 3:21 pm

Hey,

just a thanks for this ‘workthrough’, worked perfect for me!

for needee, can only say that it looks like a permissions issue…

cheers and thans again Vivek

3 Ravi Kumar May 12, 2007 at 3:50 pm

Thanks a lot for this superior suggestion but I have one more problem

” Earlier I am using linux and acoording to your suggestion succesfully imported the data from Outlook Express to Thunderbird ( On Linux ) I used that for a month but now due to some other works I again have to use Microsoft XP but problem is that How can I import thunderbird ( Linux) data to Outlook Express. ”

Pls help me !!!

4 rajamurugan May 16, 2007 at 2:30 pm

I am using ms office outlook 2007.

I followed the instructions…but thunderbird fails to import pst from outlook

following eror
An error occured importimg mail from outlook
Error importing mailbox, unable to create destination mailbox.
Error creating destination mailboxes,cannot find mailboxes
plz,can you help me.
regards,
Rajamurugan K

5 Countman June 14, 2007 at 3:22 am

needee, rajamurdan

You may want to try Outport from
http://outport.sourceforge.net/

I have tried it on Outlook 2003, and seems to work. I too had trouble with Thunderbird import from Outlook. Also tried Eudora, but it lost my photos, though the rest imported very well. All of these approaches need to run in Windows first, then migrate the data to Linux.

Hope that helps.

6 Tinfalco June 30, 2007 at 9:38 pm

This is a good article when talking about the windows end. But when talking about linux starts assuming prior knowledge. For instance, the location ~/.mozilla-thunderbird is mentioned, but a full path would be more useful. I had to guess where it was, and I found one directory of this name, below a directory called etc. But I was informed that I did not have permissions to save the “outlook mail.sbd” file to there. Despite the fact I only have one user set up on this computer, which is the one that carried out the install. Please bear in mind that anyone who is likely to be moving files from windows to linux is likely to be a linux newbier, and thus a more in depth description of ops at the linux side would be welcomed.

7 nixCraft June 30, 2007 at 10:09 pm

~/.mozilla-thunderbird refers to your own home directory. For example, if your login name is tom, your home directory should be /home/top, so your path should be /home/tom/.mozilla-thunderbird or /home/tom/.mozilla.

~ refers to your own home directory in UNIX and Linux.

8 Sachin September 19, 2007 at 6:58 pm

This solution is for the person who was having trouble importing outlook mail to thunderbird and was getting the following error:

“An error occurred importing mail from outlook
Error importing mailbox, unable to create destination mailbox.
Error creating destination mailboxes,cannot find mailboxes”

I was having the same problem, and the reason was that I had two sub-folders with the same name under two different parent folders. Once I renamed one of them the import worked fine.

Hope this helps!

9 Newbie On a Roll September 21, 2007 at 7:52 am

Worked perfectly. Thanks

10 prajakta November 5, 2007 at 6:20 am

Hi,

Can Sucessfully tranfer mail from outlook to Evolution.
But …….. How do I do mass transformation with 300+ desktop and each user may have some folders created as well.
There can be a script written and can be run during the installation of linux desktops.
Any ways you need to have backup of mails from thunderbird manually.

11 Davias January 17, 2008 at 2:51 pm

I follow your procedure, but no luck with emails. I’ve got settings and contacts fine in Thunderbird for linux 2.0.6 (the one in Ubuntu repositories for my 7.10 Amd64) from windows version 2.0.9 but can only see a empty Local Forlders in main view. I tried to move around the mail directory, but no matter were I put it, it’s not recognized by Thunderbird. It looked simple, but is not working.

12 Neuromancer March 6, 2008 at 12:41 pm

nice trick (: it works

13 Adri May 4, 2008 at 7:37 pm

I followed the instructions and…it works!!! Thanks!!

14 Scott May 27, 2008 at 5:18 am

Worked GREAT! Successfully migrated from Outlook 2007 under XP pro SP3 to Evolution under Mandriva 2008… the “cd” areas are not quite the same as mine but I figured out the actual file locations easy enough. THANKS!

IBM Thinkpad R31, P3@1133MHz, 512 MB RAM.

Mandiva 2008 is AWESOME!

15 meh May 27, 2008 at 10:27 am

thanks..it worked..keep up the good work

16 AHSAN KHALIQ June 16, 2008 at 11:59 am

I HAVE TRIED TO IMPORT DATA INTO THUNDERBIRD FROM OUTLOOK > MAIL, HOWEVER I GET THE FOLLOWING ERROR:

UNABLE TO SAVE YOUR MESSAGE AS DRAFT.
ERROR WRITING TEMPORARY FILE.

Note i have also arranged folder names in my personal folder to eight char long and there is no duplication in folder name between folders… if anyone can advise why the following error is occurring and suggest a solution. :-)

17 Bruce June 17, 2008 at 1:52 pm

This worked perfectly. Thanks!

18 Anoop January 10, 2009 at 1:42 pm

Hey,
Thanks for the instructions, it worked for me in RHEL5.2 from windowsXP. The directory structures where little different than mentioned above.
cheers,
– Anoop

19 Richard N. April 3, 2009 at 8:21 pm

Countman, thanks for the link!!! I’ve export my Outlook and all the objects, I’m going to try to import into Evolution when I get home! Cross my fingers!

20 Rebecca Wright April 13, 2009 at 10:07 pm

Hey,

I managed to import everything from Outlook, however, for some reason, the commands to locate the Profile folder are not working. It’s not showing an error or anything, it’s just not… showing anything, just giving me a new command line when I hit enter.

I am running XP SP3, and Outlook 2003, so I dunno if that’s got anything to do with it.

Anyone have any ideas?

21 Rebecca April 13, 2009 at 10:10 pm

Ah, please disregard. Tried doing a search in Windows Explorer for the folder and it turned right up.

Thanks a lot!

22 Rebecca April 13, 2009 at 10:26 pm

Something isn’t clear to me. I have the files from the Outlook Mail.sbd folder. However, trying to import them to Evolution from the GUI isn’t working, for some reason. As I’m not importing from an older version of anything, I’m trying to import the individual files, but, however, they don’t have an extension Evolution recognizes. There are files without extensions, and some with a .msf extension.

Do I need to have Thunderbird on Ubuntu as well in order to import, or is there some other step I’m missing here?

23 Brian McNeil October 11, 2009 at 5:14 pm

Okay… I have what I think is a real challenge here.

Thunderbird imports my email from Outlook just fine – I have already done this a few times as I poked and tweaked Thunderbird to see how I could configure it. But, I never stopped using Outlook as my main mail store; I wanted to really know what my options were, and what would be the best.

Well, it looks like Evolution is the best solution.
It is tightly integrated with Ubuntu 9.04, right down to double-clicking on the desktop clock and getting a calendar integrated with it. Seriously nice.
AND, as I want to be able to continue to dual-boot, AND get at my email in either Ubuntu or Windows, it was a great find to discover there is a Windows version of Evolution available.

However, every single thing I have looked up says you cannot change the default location for Evolution storing mail from your home directory. This is bad. I need it on an NTFS volume so I can see it in Windows.

How on Earth do I deal with this?
There are hints that Evolution can via some sort of message rule automatically move email somewhere else. What do I need to do here to have a shared store and all mail sent or received either in Windows or Ubuntu, go into that shared store and both OS Evolution clients be able to see it?

This is made somewhat more difficult by having six email accounts on a variety of servers – some with, and some without their own SMTP-auth server, and a 1.5Gb store of mail in Outlook that goes back over 15 years.

Anyone up to *this* challenge?

24 godspiral November 3, 2009 at 7:48 pm

you can point windows evolution to the mail store in your linux directory. windows tools to mount ext3 as a drive letter.

25 venkat July 26, 2010 at 11:12 am

Dear Sir,

This is venkat, i previous used Linux with mail and evoulation.Afterwards backup the evoluation mail i saved. Now i am using Windows 7 Preium ,so that i want use back mails in the previous .

How to i can access the above. Please clarify the same.

Thanks & Regards’
venkat

26 Bel November 18, 2010 at 10:40 pm

I was able to get the Outlook Mail.sbd from my windows folder. But how will i copy the files inside of that folder to linux home-directory? (~/.mozilla-thunderbird) I don’t see a mozilla-thunderbird. Should i install thunderbird in ubuntu 10?

27 Badger November 27, 2010 at 9:57 am

There is no need to use Thunderbird. All you need to do is install evolution-pst extension and import .pst file directly. Works very well.

Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum.

Previous post:

Next post: