Plesk

Mail disk space usage is incorrect in Plesk

Symptoms

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

  1. Log into Plesk.

  2. Go to the Domains > example.com > Email Addresses page and press the Refresh Usage Stats button:

Via SSH

  1. Connect to the server via SSH.

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

  1. Connect to the server via RDP.

  2. Open the Command Prompt.

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