You can clean up space in your DomainsFoundry mailbox and account by quickly by removing unwanted or old messages using the Email Disk Usage tool in your DomainsFoundry cPanel control panel.
This feature allows you to clear out emails from your inbox and other mail folders associated with your email addresses.
Important: Deleting emails through this tool will permanently erase them from your account.
Steps to Use Email Disk Usage
- Sign in to your cPanel account.
- Click on Email Disk Usage.
- From the Account dropdown, pick the email address you want to manage.
- Find the folder you want to clean and click Manage beside it.
- Choose a filter to target the emails you want to remove:
- Emails older than 1 year
- Messages larger than 30 MB
- Previously opened emails
- All emails in the folder
- Use a custom search query
- Click Delete Permanently to erase the selected messages.
Using Custom Search Queries
The Custom Query option gives you more control by letting you define search parameters using Dovecot’s search syntax. You can find the full reference here:
Dovecot Search Query Format Documentation
Here are a few useful examples:
- To delete messages over 10MB in size:
larger 10MB
- To delete messages sent before a specific date:
sentbefore 20-Sep-2017
- To delete all messages sent by john@domain.com
from “john@domain.com”
Always wrap the email address in double quotes if it contains special characters or to be safe with parsing.
- To delete every message whose Subject contains the word ‘example’
subject “example”
