Converting mbox to Maildir format on windows

Posted on 2009-04-29
Last Modified: 2013-11-29
I am aware that there are a few .pl scripts out there that serve this purpose. But I have some problems running it on Windows. Eg.

While the Unix server is being prepped, I wish to convert the mbox files to maildir format first. I have copied out the respective mbox. Can someone help to provide the magic formula?

Assume my mbox are in C:\archived and the is at the same folder.
Question by:QLJ
    LVL 2

    Expert Comment

    If you convert them prior to movement, you will probably have undesirable (broken) results.
    If you can leave both servers up concurrently, you can use imapcopy.
    LVL 1

    Author Comment

    what if I am not able to leave both servers up concurrently?
    LVL 2

    Accepted Solution

    you can probably run that script on windows in cygwin. You may need to install the TimeDate module with CPAN once the install is complete.

    you could also setup a basic install of any linux or *bsd in vmware server and run it, create your maildir's, and tar it up. If you need to extract them while your waiting for your server to be prepped, you can extract the files without damaging the mail.

    The only issues you may see by converting them under windows is file name truncating or improper end of line.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
    There was an incident about the POP3 issue for the double read receipts and delivery receipts in Exchange 2013.  There was huge research been done and found solution for the duplicate mails. Especially when the user gets  duplicate mails.
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now