Symptoms
-
Mail usage for the mailbox is incorrect at the Plesk > Domains > example.com > Email Addresses page.
-
Another mail client, such as Smarter Mail, shows the correct mail usage.
Cause
The Daily Maintenance Task has not been run today and thus did not update the information about the mail usage
Resolution
Wait until the next Daily Maintenance Task execution or recalculate the mail usage manually:
Via Plesk GUI
-
Go to the Domains > example.com > Email Addresses page and press the Refresh Usage Stats button:
Via SSH
-
Connect to the server via SSH.
-
Run the next command to update mail usage:
-
for one domain:
Note: change the "example.com" domain in the command below to the correct one.
# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.com
-
for all domains:
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f MailUsage
-
Via RDP
-
Connect to the server via RDP.
-
Open the Command Prompt.
-
Run the next command to update mail usage:
-
for one domain:
Note: change the "example.com" domain in the command below to the correct one.
C:> "%plesk_bin%/statistics.exe" --calculate-one --domain-name=example.com
-
for all domains:
C:> "%plesk_bin%php.exe" -dauto_prepend_file= "%plesk_dir%adminplibDailyMaintainancetask-script.php" -f MailUsage
-