The convert_maildir_to_mdbox Script

Valid for versions 82 through the latest version

Version:

82


Last modified: January 28, 2021

Overview

The /usr/local/cpanel/scripts/convert_maildir_to_mdbox script lets you convert mailboxes from maildir format to mdbox format. After conversion, the script reconfigures Dovecot to access the converted account in mdbox format.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/convert_maildir_to_mdbox [options]

Options

Use the following options with this script:

Option Description Example
--user Convert a cPanel account and all of its email accounts to mdbox format. --user=username
--email Convert an email account to mdbox format. You must use one of the following formats:
[email protected]
--delete-old-format Remove the maildir files after a successful conversion to mdbox format. --delete-old-format
--help Display the script’s help documentation. --help

Additional Documentation