Valid for versions 82 through the latest version
Last modified: January 27, 2021
Overview
The /usr/local/cpanel/scripts/convert_mdbox_to_maildir
script lets you convert mailboxes from mdbox format to maildir format. After conversion, the script reconfigures Dovecot to access the converted account in maildir format.
Run the script
To run this script on the command line, use the following format:
/usr/local/cpanel/scripts/convert_mdbox_to_maildir [options]
Options
Use the following options with this script:
Option | Description | Example |
---|---|---|
--user |
Convert a cPanel account and all of its email accounts to maildir format. | --user=username |
--email |
Convert an email account to maildir format. You must use one of the following formats:
|
--email=username@example.com |
--delete-old-format |
Remove the mdbox files after a successful conversion to maildir format. | --delete-old-format |
--help |
Display the script’s help documentation. | --help |