Deru Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

How to convert mbox to maildir for a single domain on a cpanel server?

Add comment
Views: 2035
Votes: 1
Comments: 0
Posted: 24 Jun, 2009
by: Kanchan C.
Updated: 28 Jul, 2012
by: Majoosh C.
 
Suppose we are performing the conversion for the user@domainname.com user.

Take the backup of “/home/username/mail/domain.com/user/” before doing this.

 Run this command as the user of the mailboxes.
================================================
/usr/local/cpanel/3rdparty/mb2md/mb2md -s /home/username/mail/domain.com/user/inbox -d /home/username/mail/domain.com/user/
================================================

 Source Mbox is /home/username/mail/domain.com/user/inbox

 The main Maildir directory will be created if it does not exist. It has the following subdirectories:

    /home/username/mail/domain.com/user/tmp/
    /home/username/mail/domain.com/user/new/
    /home/username/mail/domain.com/user/cur/




Usage:

mb2md -h
mb2md -m [-d destdir]
mb2md -s sourcedir [-R|-f somefolder] [-d destdir] [-r strip_extension]
Others in this Category
document ISPs blocking smtp port 25
document Outlook error 0x8004210B
document Outlook error Ox800CCC69, Server Response '550 message = IP is listed at cbl.abuseat.org'
document Outlook express: view headers of mails
document Configure outlook express to pop mails
document Setting maximum message size in Smarter mail
document Outlook Express Error 0X800CCC1A
document Steps to un-check the option "Leave a Copy of Messages on Server" for different e-mail clients
document How to read exim main log?
document How to block spoof/spam mails?
document RoundCube webmail locks up on sending
document Steps to change POP accounts to IMAP in email client
document Contact Email Address for your website
document How to remove deferred mails from the post fix mail queue?
document How to change disk quota for mail accounts?
document How to access calender and organise events in my domain via webmail on mobile and desktop !!
document Managing cPanel Email Accounts
document How to enable/disable Spam box for a domain?
document Creating Email Account in MailEnable
document Whitelisting IP address in MailEnable



RSS