Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Does anyone know of any solutions to convert a Maildir to a PST in linux? I'm able to use a program in Windows called Aid4Mail, but that requires me to pull the Maildir down from the server. I've got a bunch of users' boxes to convert, so that route isn't ideal.

All my users are remote, so it's not like I can just use Outlook to connect to the IMAP server and export as PST from their machines.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

There are projects like libpst allowing access to PST files from within Linux, but I doubt that anything aside from Microsoft's tools themselves will give you a "clean" PST output.

I cannot see though why you could not connect to the IMAP server using Outlook from your machine and simply copy the messages to one or more PST stores mounted in Outlook - this is going to produce predictably valid results. If you are concerned about the number of manual operations needed for that task, you might consider using Outlook VBA to script folder recursion and message copying using the CopyTo method.

share|improve this answer
add comment

I've never tried this but it looks workable.

Blockquote Well it's convoluted, but I think the route is to convert maildir to mbox (that's a piece of cake and can be done with a bash script) then to convert the mbox file to eml format using mbox2eml Outlook can then open the eml format and import it to pst. Blockquote

http://myreader.co.uk/msg/102897704.aspx
http://www.linuxquestions.org/questions/linux-general-1/a-script-to-convert-maildir-to-mailbox-format-381568/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.