Is it possible to convert from maildir to mbox?

jrehmer

Well-Known Member
Apr 10, 2003
287
0
166
Denver, CO
I would like to convert existing maildir boxes back to the mbox format. I know this is not recommended, etc. but I have a good reason.

I did notice in the /scripts/convert2maildir script that there is an option to "restore system to mbox state"... is this safe?

Thanks,

Jesse Rehmer
BlueWorld Hosting
 

doubleg

Member
PartnerNOC
Feb 10, 2005
22
0
151
we've done this on a dedicated server today

none of the mail that was converted into mail dir format converted back into mbox.

It appears we did not backup the accounts also as

/backup/mbox_backup

is empty. So the restore backups fails even tho there are maildir mails in the cur folders.

It would be nice if it could convert from the cur dir to INBOX.

anyone know how to handle this?
 

samuel77

Member
Apr 6, 2007
5
0
151
Hi Friend,

Yes, It is easy to convert Mbox to mailbox. Try this.

It is a Perl script that takes one or more Mbox format mailbox files in a directory and convert them to Maildir format mailboxes.

Cheers