SOLVED check mail quota over ssh

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

You can browse to the "Notifications" tab in "WHM >> Tweak Settings" and configure the following options:

Enable mailbox usage warnings
Mailbox disk quota “warn” percentage
Mailbox disk quota “critical” percentage
Mailbox disk quota “full” percentage


Then, run the following command:

Code:
/scripts/quotacheck
Once you do this, simply review the /var/cpanel/quotawarned file to see which email accounts are over the configured warning threshold:

Code:
cat /var/cpanel/quotawarned
Note this setting will send an email notification to the cPanel account holders if their email accounts are over the threshold.

Thank you.
 
  • Like
Reactions: SysSachin and em.ci