PDA

View Full Version : Converting from Outlook Express to Linux mbox


airjunman
July 7th, 2006, 05:32 AM
Now this is a real pain in the *****, was at least.. I didn't find any place that told it clearly, so just put together what worked for me.. OE and MS Outlook store their mailboxes as .dbx files, one file for each mail folder(eg.:Inbox.dbx,Sent.dbx,etc.). Generally the path for those files on the Windows box is C:/Documents and Settings/uid/Local Settings/Application Data/Identities/{1C46C658-5362-5463-8708-F215FD67238}/Microsoft/Outlook Express
where uid is your windows logon user id, and, the numbers are changed

On Linux you need to have KMail installed with a plugin called KMail CVT which lets you import OE mailboxes and convert them to the standard linux mbox files. Both can be got from the repositories by doing the following:

$ sudo apt-get install kmail
$ sudo apt-get install kmailcvt

You now need to import the necessary files:
Open KMail
File>Import Messages
This opens a dialog box which asks you to choose the program from which you want to import the mail
Click on the dropdown menu and choose "Import Outlook Express Emails"
Click "Next" and then choose the files
(You may have transferred the dbx to some place on your linux partition or else hopefully you'd have the drive containing it mounted so you can access it, in my case I just have my NTFS/Windows partitions mounted, which the latest Ubuntu does automatically.. Anyways you'd have to do one or the other) If it is mounted it could be at /media/hda6 which is to just give an example of how mine is. Also as an example the folder in Windows where the files generally are is: C:/Documents and Settings/uid/Local Settings/Application Data/Identities/{1C46C658-5362-5463-8708-F215FD67238}/Microsoft/Outlook Express

Once you've chosen the folder, KMail downloads the mailbox and organises the folder structure as
Local Folder > OE Import > "foldername"(say Inbox)

Now all you do is go to each folder. Select all the mails in it by <Ctrl+A> and then click on File>Save as
This opens a box to choose where to save the file, choose the path and the filename. You can name the file anything(say example.mbox), unlike what I earlier assumed that you'd have to name it *.mbox, you can leave it without any extension.

Anyways you're done. If you want to use KMail as your mail client that is. I dont like it much, I prefer Opera Mail cos it has everything you want and not much more and the important functions have easy shortcuts. So, like me, if you use another mail client, you have one step more.

Open any program you want: Evolution or Opera Mail or Thunderbird or anything else that you use. Choose to import files of "generic mbox type" and choose the file you saved earlier(in our case example.mbox). You're good to go.

Let me know if I made any mistake cos I'm only a newbie anyways. Just trying to give back a lill. Hope it works n helps someone out there trying to make the transition from Windows to Linux/Ubuntu

airjunman
July 18th, 2006, 07:09 PM
Noone interested?

PingunZ
July 19th, 2006, 02:51 PM
very nice howto :KS

Grtz PingunZ

airjunman
July 19th, 2006, 07:48 PM
Thanks PingunZ :)... Whats ur email client of choice in Linux though... I have a feeling Opera may be slowing my system down...

skirkpatrick
July 19th, 2006, 09:01 PM
Sorry, I used Thunderbird installed on Windows to import my OE data then copied the files over to my Linux Thunderbird.

airjunman
July 19th, 2006, 09:06 PM
Anything that works rite :)

mrdav1e
February 5th, 2007, 08:56 PM
I had a customer's OE data and she is converting to Ubuntu, imagine a 70+ year old converting!
Anyway, I had a hell of a time finding a way to convert.
This was a sweet method, couldn't have done it w/o you.
The only 'challenge' I had was finding the kmail program, it didn't install to the applications folder so I had to go to the filesystem/usr/bin and d-click on kmail. Not a big deal.
I went from oe to kmail to thunderbird with this method.
Sincerely,
Dave

airjunman
February 5th, 2007, 11:09 PM
Glad to be of help .. The forums in general do a great job of helping out.. cheers!

Roelski
April 4th, 2007, 02:35 PM
Great post! Finally found what I've been looking for for some time now.

1 addition: if you tend to import into Evolution, you'll have to choose the destination email folder (say "tree-level"). That means you'll have to prepare the tree manually BEFORE importing as it cannot be done while you're running the import wizzard.

One trick is in correctly naming the folders when you export them, e.g. 1-B-c-mailfoldername would mean "third level under second level under first level" under Inbox, a folder named "mailfoldername". This is pretty time-consuming if you have a lot of subfolder though it helps you structure your mailbox.

For the Gnome-adepts: I ran Kmail under Gnome without any probs.

Besides this, it works like a charm.

Roelski

JamesD-2007
July 2nd, 2007, 10:15 PM
Thanks, just what the Dr ordered. Recovered all of mother in laws 'Important Stuff' with this.

tracer2009
August 21st, 2007, 02:56 PM
thanks just what i needed

yowshi
March 27th, 2008, 09:34 PM
grrr it doesnt actually seem to be saving them anywhere for me.

carloslosgrande
April 4th, 2008, 07:00 AM
Thanks! Worked just fine for me

trondhuso
May 6th, 2008, 06:07 PM
Looks great and promissing. I'll try it when I get the time. One suggestion though. Maybe it is more than enough to run the Kbuntu Live CD to do this If you don't want to install KDE-packages in your Gnome enviornment that is.

Trond

gordonh
May 13th, 2008, 06:45 PM
I had a customer's OE data and she is converting to Ubuntu, imagine a 70+ year old converting!
Anyway, I had a hell of a time finding a way to convert.
This was a sweet method, couldn't have done it w/o you.
The only 'challenge' I had was finding the kmail program, it didn't install to the applications folder so I had to go to the filesystem/usr/bin and d-click on kmail. Not a big deal.
I went from oe to kmail to thunderbird with this method.
Sincerely,
Dave

I've been looking for a way to do this for weeks!
My wife's windows machines semi-crash meant I had to back up data including outlook mails before a complete re-install of windows (what a nightmare).

anyway, my exported .dbx files wouldn't re-load to outlook. How can that make sense. I have all the folders in Kmail now, so at worst I can re-send them to the hotmail account.

Why did I quote the above post? After the two sudo apt-get install commands I typed kmail in the terminal and was taken straight into the setup procedure for Kmail.

Nice succinct howto. thanks.

gordonh
May 13th, 2008, 06:49 PM
grrr it doesnt actually seem to be saving them anywhere for me.

did you remember to select "import outlook ..." from the dropdown menu?

I didn't the first time I tried.

The favourites folders pane was too small to see anything by default. When I dragged it to the right everything became visible

Lucretia1
December 16th, 2008, 01:58 PM
This worked slicker than snail snot! Absolutely perfect! My husband's windows machine finally died, so we're going windows-free and needed a way to convert all his old email. THANKS!

cet77
January 12th, 2009, 12:26 PM
Thanks. :) works like a charm.. :)

-c-

cjv8888
February 21st, 2009, 10:51 AM
Worked really well.
Thank you.:D

alanbrodbeck
October 8th, 2009, 04:50 PM
Worked great for rescuing a crashed windows pc (now running Ubuntu)! I see it's been quite a while since this was written.
I only needed to run the first command:

$ sudo apt-get install kmail
kmailcvt was then present in /usr/bin/

Perhaps kmailcvt is now packaged with kmail proper.(?)
Thanks for writing this up!!

kevinguillorytraining
October 9th, 2009, 04:52 AM
Thanks for nice howto. My choice in linux always Thunderbird