How to manage e-mail disk usage in cPanel

Last modified: Thursday August 18th, 2022

This article describes how to view and manage e-mail disk space usage in cPanel. With this feature, you can delete messages from accounts that match a set of specific criteria.

Managing e-mail disk usage

To manage e-mail disk usage, follow these steps:

  1. Log in to cPanel.
  2. In the EMAIL section of the cPanel home screen, click Email Disk Usage:                                           How to manage e mail disk usage in cPanel kb cpanel 78 email email disk usage icon
  3. On the Email Disk Usage page, in the Account list box, select the e-mail account you want to view:How to manage e mail disk usage in cPanel kb cpanel 78 email disk usage page
  4. For each folder in the e-mail account, you can view the following statistics:
    • The number of messages.
    • The disk usage amount.
  5. To free disk space, under Actions, click Manage.
  6. Under Messages to delete, select one of the following filters to use for the messages you want to delete:
    • 1 year old or more: This option deletes any messages that are older than one year.
    • 30 MB in size or more: This option deletes any messages that are 30 MB or larger.
    • Previously viewed: This option deletes any messages that have already been opened.
    • All messages: This option deletes all of the messages in the folder.
    • Custom query: This option enables you to use Dovecot search queries to select specific sets of messages. For example, you can select all messages that contain a specific word in the subject line, all messages that are more than a week old, etc. For information about how to create Dovecot search queries, please see
      When you type a query in the Dovecot query text box, make sure you include only the query itself. Do not include doveadm or search. For example, to select all messages that are greater than 100 kilobytes in size, type LARGER 100k , not doveadm search LARGER 100k.
  7. Click Delete Permanently. cPanel deletes the specified messages.
    Be careful! You cannot recover messages after they are deleted.

Looking for an outstanding cPanel-based web hosting provider? Try our web hosting packages with cPanel

Was this article helpful?
Views: 52
Sidebar website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.