Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    wzd
    wzd is offline
    Member wzd's Avatar
    Join Date
    Dec 2005
    Location
    South Africa
    Posts
    115

    Red face Converting stored mbox mail to maildir format?

    Hi guys,

    I've got a bit of a problem, We've recently reloaded and converted to maildir with ConfigServer's mailscanner (which is running beautifully) and realised that there are some accounts on our old harddrive inside another rescue unit that has emails we need.

    The directory listing of the user is: domainname.com/mail/domainname.com shows the following: (THIS IS WHAT WE HAVE ON THE BACKUP DRIVE)

    Code:
     89152 -rw-r-----   1 root  wheel  91214946 Mar 23 17:51 Coldstorage
         4 -rw-r-----   1 root  wheel      2693 Mar 23 17:51 Sent
        36 -rw-r-----   1 root  wheel     35068 Mar 23 17:51 Trash
      6768 -rw-r-----   1 root  wheel   6912444 Mar 23 17:51 inbox
       320 -rw-r-----   1 root  wheel    295799 Mar 23 17:50 spam
    However the current directory listing of the same user (on our new /home partition) is:
    Code:
    4 drwx------  2 todor todor 4096 Mar 24 02:20 cur/
    4 -rw-r--r--  1 todor todor   15 Mar 24 02:20 maildirsize
    4 drwx------  2 todor todor 4096 Mar 24 02:20 new/
    4 drwx------  2 todor todor 4096 Mar 24 02:20 tmp/
    I've (stupidly) tried to just copy over the files into the various directories under the users home/mail/domain directory but of course that won't work

    What i want to know is how to convert the stored emails in all the backed up mbox files to maildir readable,

    Thanks!!
    You will learn to earn death...
    Flamewave

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    After you've copied over the file simply rerun:

    /scripts/convert2maildir

    There'll be an option to convert any mbox files to maildir.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 11-29-2007, 05:41 PM
  2. migrating from mbox to maildir format
    By Chriz1977 in forum E-mail Discussions
    Replies: 43
    Last Post: 08-20-2007, 11:47 AM
  3. inbox in mbox format randomly re-appear on Maildir servers
    By rvskin in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-14-2006, 10:46 AM
  4. mbox to maildir and maildir to mbox transfers
    By btrieve in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-29-2006, 09:37 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube