The convert_maildir_to_mdbox Script

Valid for versions 82 through the latest version


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:
  • username@example.com
  • username
  • _mainaccount@example.com
--email=username@example.com
--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
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The servers_queue Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The auto-adjust-mysql-limits Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The autossl_check Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup_restore_manager Script

Valid for versions 82 through the latest version Last modified: July 28, 2022...