Articles in this section

Mail disk space usage is incorrect in Plesk

Plesk for Windows Plesk for Linux kb: technical ABT: Group B

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Symptoms

  • Mail usage for the mailbox does not appear to be correct at the Plesk > Domains > example.com Mail > Mail Accounts page.

  • The correct mail usage is shown when the mailbox is viewed through any webmail or email client.

Cause

The Daily Maintenance task that is responsible for the calculation of the mail usage has not been executed today, due to which the information about the mail usage has not been updated today.

Resolution

Wait until the next Daily Maintenance script execution time is reached or recalculate the mail usage manually:

Via Plesk GUI
  1. Log into Plesk

  2. Go to the Domains > example.com > Mail > Mail Accounts page and press the button that is next to the Usage column:

Via SSH (Linux)
  1. Log into the server via SSH

  2. Run the following command to update mail usage:

    • For one domain:

      Note: Replace example.com domain in the command below with your domain

      # /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 (Windows)
  1. Log into the server via RDP

  2. Open the Command Prompt

  3. Run the following command to update mail usage:

    • For one domain:

      Note: Replace example.com domain in the command below with your domain

      C:\> "%plesk_bin%/statistics.exe" --calculate-one --domain-name=example.com

    • For all domains:

      C:\> "%plesk_bin%\php.exe" -dauto_prepend_file= "%plesk_dir%\admin\plib\DailyMaintainance\task-script.php" -f MailUsage

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.