When your rented hosting is using too much email storage, especially due to many saved email messages, you need to upgrade your hosting or delete old emails in cPanel.
If you want to use the second option, it might be difficult to check emails one by one, because when an email account is using a lot of disk space, there are surely thousands of emails stored inside.
No need to worry, because cPanel has options to bulk delete old emails, emails with large attachments, previously read emails, and even all messages within an email account.
How to Delete Old Emails in cPanel
Note: When using this method, you cannot recover deleted messages because they will be permanently removed, including from the trash folder.
You can use this method to delete messages that have been stored in your email account for more than a year, as these emails are usually no longer needed after this period.
- Log in to cPanel, then find and open the page Email Disk Usage
- Select the email account from which you want to delete messages
- Click the button Manage in the existing email category
- In the option Messages to delete, select the option 1 year old or more, then click the button Delete Permanently
- Check your email again, and you will see that the usage has decreased.
If you want to delete all older emails, for example, deleting emails received before February 28, 2022, you can use a custom query with the following Dovecot Query command: savedbefore 2007-04-13
You can check this page for more information regarding Dovecot Query: https://doc.dovecot.org/3.0/man/doveadm-search-query.7/
COMMENTS
Loading...