The update_existing_mail_quotas_for_account Script

Valid for versions 100 through the latest version


Last modified: September 8, 2021

Overview

The /usr/local/cpanel/scripts/update_existing_mail_quotas_for_account script will update the quota for all existing email accounts for a given user or for all users on the system

Run the script

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

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

Options

Use the following options with this script:

Option Description Example
--all All emails created by the user of the cPanel account. all 1000
--user The name of the cPanel account. user example 1000
--quota <quota_in_megabytes> The new quota size for email accounts, measured in megabytes. quota 2048
--help Display the scripts help documentation. --help

Note:

The <quota_in_megabytes> value must be a positive integer. Use 0 for unlimited or maximum allowed quota (based on MAX_EMAILACCT_QUOTA for account).

  • 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...