Managing e-mail disk usage in cPanel
Over time, e‑mail accounts can consume significant disk space, especially if large attachments or old messages are stored. cPanel provides an Email Disk Usage tool to help you monitor and clean up mailboxes efficiently.
Accessing the Email Disk Usage Tool
Section titled “Accessing the Email Disk Usage Tool”- Log in to cPanel.
- On the Tools page, in the Email section, click Email Disk Usage.
- From the Account dropdown, select the e‑mail account you want to review.
Viewing Usage
Section titled “Viewing Usage”For each folder (Inbox, Sent, Junk, Trash, custom folders), you’ll see:
-
Number of messages
Section titled “Number of messages” -
Disk space used
Section titled “Disk space used”
This helps identify which folders are consuming the most space.
Deleting Messages to Free Space
Section titled “Deleting Messages to Free Space”-
In the Actions column, click Manage next to the folder you want to clean.
-
Under Messages to delete, choose a filter:
- 1 year old or more → Deletes messages older than 12 months.
- 30 MB in size or more → Deletes very large messages.
- Previously viewed → Deletes messages that have already been opened.
- All messages → Deletes everything in the folder.
- Custom query → Use advanced Dovecot search queries to target specific messages (e.g., by subject, size, or age).
-
Click Delete Permanently.
Warning: Deleted messages cannot be recovered. Always double‑check before confirming.