The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is it possible to convert from maildir to mbox?

Discussion in 'E-mail Discussions' started by jrehmer, Jan 15, 2007.

  1. jrehmer

    jrehmer Well-Known Member

    Joined:
    Apr 10, 2003
    Messages:
    287
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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
     
  2. doubleg

    doubleg Member
    PartnerNOC

    Joined:
    Feb 10, 2005
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  3. samuel77

    samuel77 Member

    Joined:
    Apr 6, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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
     
Loading...

Share This Page