How to Take in the Trash Folder Data in Email Disk Quota Calculations

September 20, 2023 /

This guide explains how to take in the trash folder data in email disk quota calculations. As this option is disabled by default, you can enable it by following the steps given below.

Steps:

  1. Log in to WHM.
  2. Select the “Service Configuration” category and click on the “Mailserver Configuration”.
    service configuration
  3. Check in the box named as “Include trash in Quota”.
    include trash in quota
  4. Scroll down and click on the “Save Changes” button.
    save changes
  5. Execute the following command using SSH as the root user or you can use the WHM terminal for calculating the changes-
    /usr/local/cpanel/scripts/generate_maildirsize –allaccounts –confirm

This way, you can take in the trash folder data in email disk quota calculations. For any query, seek help from our support specialists or you can directly call.

Spread the love