Mailbox full: how to clean up old email and raise the quota with cPanel Email Disk Usage
1. How do I know the mailbox is full?
- People who write to you get an error such as "mailbox full", "Quota exceeded" or a 452/552 code.
- Webmail or Outlook cannot save your sent messages to the Sent folder.
- In cPanel, the usage bar for the account on the Email Accounts list looks full.
New mail is not delivered to a full mailbox; the sender gets an error. So you need a quick cleanup or a quota increase.
2. Which folder is taking up space?
- On the cPanel home page, open Email Disk Usage in the Email section.
- In the Account list, choose the email account you want to clean up (for example
[email protected]). - The table lists the account's folders with # of Messages and Disk Usage. Click a column heading to bring the largest folder to the top.
- Folders that contain messages have a Manage link on their row.
The folders that take up the most space are usually INBOX, Sent (with its attachments) and Trash. Messages you delete in Webmail go to Trash and keep taking up space.
3. Delete old or large messages
- Click Manage on the row of the folder you want to clean up. A Messages to delete list opens below it.
- Choose which messages to delete:
- 1 year old or more: Messages older than one year.
- 30 MB in size or more: Messages of 30 MB or more (large attachments).
- Previously viewed: Messages that have already been read.
- All messages: Every message in the folder.
- Custom query …: Your own condition (below).
- Click Delete Permanently.
Delete Permanently deletes immediately without asking for confirmation, and deleted messages cannot be recovered; they do not go to Trash either. If you need to keep any correspondence, back it up to your computer first (for example with Outlook's export), or start by cleaning only the Trash folder.
Custom query
- If the ready-made options are not enough, choose Custom query … from the list; a query field opens next to it.
- Type the condition, for example
savedbefore 26weeks(messages older than 26 weeks), and click Delete Permanently.
Commonly used queries:
| Goal | Query |
|---|---|
| Older than about 6 months | savedbefore 26weeks |
| Larger than 10 MB | larger 10M |
| Read and older than 8 weeks | seen savedbefore 8weeks |
| Before a specific date | before 2025-01-01 |
| From a specific sender | from [email protected] |
- When the operation finishes, a green Success notice appears at the top right and the folder's Disk Usage value is updated.
4. Raise the quota
If cleanup is not enough, or the mailbox naturally keeps growing, you can raise its quota.
- In cPanel, open Email Accounts and click Manage on the account's row.
- In the Storage section, Current Storage Usage shows how much is used.
- Enter the new quota in MB or GB in Allocated Storage Space. If your plan allows it, there is also an Unlimited option.
- Click Update Email Settings at the bottom of the page.
Mailboxes use your hosting plan's disk space. Raising a quota does not increase the total space in your plan; if the plan's disk is full, clean up first or consider moving to a larger plan, depending on your plan.
5. Check
- Refresh the Email Disk Usage page and confirm the folder sizes have gone down.
- On the Email Accounts list, check that the account's usage bar has emptied.
- Send a short test message to the mailbox from another address; it should be delivered without an error.
6. Common problems
| Symptom | Cause | Fix |
|---|---|---|
| I deleted mail but usage did not go down | The messages were deleted in Webmail and are waiting in Trash | Clean the Trash folder with All messages. |
| A folder has no Manage link | The folder has no messages | Check another folder; an empty folder takes no space. |
| The custom query gives an error | Wrong query format | Use the examples in the table; dates are written YYYY-MM-DD. |
| I cannot raise the quota | Not enough disk space left in your plan | Clean up other mailboxes or files in the plan first. |
| Deleted messages came back in Outlook | The account is set up with POP3 and the mail is on the computer | Set it up with IMAP (B23); the mailbox on the server must be cleaned separately. |
| Senders still get "mailbox full" | The mailbox filled up again | If a forwarder leaves copies (B26), plan regular cleanups. |
7. Frequently asked questions
Can I recover messages deleted with Email Disk Usage?
No. Deletion is permanent and the messages do not go to Trash. Back up important correspondence before deleting.
Which folder should I clean first?
Trash and Junk first; then large messages with attachments in Sent (larger 10M); and finally old messages in INBOX.
Should I set the quota to Unlimited?
You can if your plan allows it, but the mailbox still uses the plan's disk space. A mailbox growing without limit can affect your other mailboxes and your website; a sensible quota is safer.
How do I find large attachments?
Clean the folder with 30 MB in size or more or the larger 10M query. If you want to keep the attachments, download them from Webmail first (B22).
Can cleanup run automatically?
Email Disk Usage runs once each time you use it. To stop spam and junk from piling up, you can turn on automatic deletion in the spam filter (B29).
Is incoming mail lost when the mailbox is full?
It is not delivered to you and the sender gets an error. Once you free up space, the sender has to send it again.
If your team works with large attachments and mailboxes fill up often, see the plans of Business Mail, a separate product from hosting email, in guide G01.
Related guides
- B21: Creating an email account in cPanel
- B22: Logging in to Webmail and using Roundcube
- B26: Email forwarders and autoresponders
- B29: Spam filters, blocklists and allowlists
- B30: My email was not delivered: Track Delivery
Thanks for your feedback!
