Converting mbox to Maildir format on windows

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.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
QLJAuthor Commented:
what if I am not able to leave both servers up concurrently?
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.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Protocols

From novice to tech pro — start learning today.