Short answer: Access cPanel Email Disk Usage, choose target mailbox from dropdown, click 'Manage' against Trash or Junk folders, and purge obsolete messages older than 30 or 365 days.
Rapidly purge aged or oversized messages across all mail folders directly from cPanel without relying on webmail interfaces.
Before you start: Save a copy of your important emails to your own computer. A full hosting backup also includes your mailboxes. How to take a full backup
Quick reference
| Tool Location | cPanel > Email > Email Disk Usage |
|---|---|
| Standard Filters | 1 year old or more, 30MB+ in size, Previously viewed |
| Custom Query Syntax | Dovecot search format (e.g. savedbefore 90d) |
| Direct Execution | Operates at file system level without IMAP lock delays |
Steps
- Access Email Disk Usage: Open cPanel and click Email Disk Usage in the Email section.
- Select Account: Choose the affected email address from the Account dropdown to view disk consumption across Inbox, Sent, Trash, and Spam folders.
- Configure Cleanup Criteria: Click Manage next to the desired folder and select a removal filter:
- 1 year old or more
- 30MB in size or more
- All messages
- Custom query (e.g.,
larger 10Morsavedbefore 180d)
- Delete Permanently: Click Delete Permanently to immediately reclaim storage quota.
Troubleshooting and tips
- Irreversible Action: Deletions executed via Email Disk Usage bypass the Trash folder and permanently erase messages from the server. Ensure necessary backups are downloaded beforehand.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket