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 ~/

Create/Launch the "" script on the "cur" folder:

[email protected] [~/]# cat
set -x
for file in `find ./ -type f`
cat $file | formail >> mbox

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:

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:

Convert From maildir To outlook eml
5 (100%) 1 vote
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.

Ask me anything