To successfully import a "maildir"-type of mailbox into Outlook, you first need an intermediate step.

The intermediate step involves the conversion of the "maildir" mailbox into the "mbox" format first.

Once you have the single mbox-file, you can then extract the *.eml messages (& subsequently open them with Outlook).

 

1) "maildir" To "mbox" conversion.

Login to your Cpanel server and locate the user's maildir mailbox.

cd into the ~/user.name/cur-folder.

Create/Launch the "mdir2mbox.sh" script on the "cur" folder:

[email protected] [~/user.name/cur]# cat mdir2mbox.sh
#!/bin/sh
set -x
for file in `find ./ -type f`
do
cat $file | formail >> mbox
done

The above script will create a single “mbox”-file whithin which you will find all the original e-mails.

 

2) "mbox" To "eml" conversion.

Now transfer the single mbox file into a Windows PC, then Download the free tool MBOX Email Extractor and Run it.

MBOX Email Extractor is a freeware utility made by those guys: http://www.outlookimport.com

IF you Open the mbox file thru MBOX Email Extractor, you'll then be able to extract all the eml messages, ready to import into Outlook (or any other app that supports the eml format)!

 

You end result should be similar to as follows:

Senior Professional Network and Computer Systems Engineer during work hours and father when home.

Andrea strives to deliver outstanding customer service and heaps of love towards his family.

In this Ad-sponsored space, Andrea shares his quest for "ultimate" IT knowledge, meticulously brought to you in an easy to read format.

Rate this post

Leave a Reply

Your email address will not be published. Required fields are marked *

Connect with Facebook