Importing emails from Outlook to Evolution (Ubuntu 8.10)

About a week ago I accidently managed to zap my windows XP partition but I was not too worried because I did not really have any reason to need windows XP anymore.

The only trouble was that I had carefully backed up my Outlook 2003 data file (outlook.pst) but I did not have a copy of Outlook to read the file!     I could have probably installed Outlook under WINE, but I did not really want to have to do this.

A bit of searching led me to this thread http://ubuntuforums.org/showthread.php?t=894633 where “Cheesehead” suggested the package readpst.

The command to install the package is:

sudo apt-get install readpst

and once installed to run the command:

readpst -r Desktop/outlook.pst

(as my data file is called “outlook.pst” and is located in the folder called “Desktop”)

There were a few error messages in the console output, but the end result was that my messages were sucessfully extracted to my home folder.   The actual data files were called “mbox” and it is these “mbox” files that Evolution can then import.

File > Import > Import a single file

There are quite a few “mbox” files that will have been created but the trick is to look at the ones with a large file size.   I had several hundred email messages in Outlook to the mbox files were about 50MB or so.    Evolution recognised the mbox file as “berkeley mailbox (mbox) format” and then I was asked to select a folder within evolution where the messages were to be imported.   I created a new folder as I did not want these imported emails mixed up with my current mail!

The odd thing was that my original inbox and outbox all seemed to be mixed up together, but it was simple enough to sort them by sender and separate them into separate folders again.

About these ads

One Comment

  1. Nikhilesh
    Posted May 3, 2011 at 10:23 am | Permalink

    Thanks man, it was a life saver… u r awesome

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

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: