Cleaning up your mailbox to free up space in DirectAdmin
Is the storage of your hosting or email package full? Then you can order extra storage. You can also clear out old mail. You do that in DirectAdmin with the Purge button.
- Log in to DirectAdmin: in My WebOké, go to My Products and click DirectAdmin next to your package.
- Under Email Manager, click Email Accounts.
- Tick the mailbox or mailboxes you want to clean up and click Purge.
- The Purge Folder window opens. Under Folder, choose which folder you want to clean up: the inbox, all folders or just the spam folder.
- Under Period, choose how old the mail must be before it can go, for example older than 365 days. Choosing all deletes all mail in that folder.
- Click Purge.

Purged mail is really gone. Save important mail first, for example in a folder on your computer. If it's too late for that, you can also restore a mailbox from WebOké Backups, as long as the mail was still in it at some point in the past 30 days.
See also: Storage full: where is the space going? in the DirectAdmin manual.
Detailed explanation with screenshots: Storage per mailbox and what happens when it's full in the DirectAdmin manual.
Want to learn more? Take the free course Using Webmail, lesson 5.4 Storage and cleaning up.
Was this article helpful?
