Skip to content
mybox Help Center

Help sections

  • Getting Started
  • Account & Billing
  • Domains & DNS
  • Hosting & Servers
  • Email
  • Security & SSL
  • WordPress & CMS
  • Grow Online
mybox.com All services operational
/

Language

  • English
  • Română
  • mybox panel
  • Webmail
Start free
/
  • Getting Started
  • Account & Billing
  • Domains & DNS
  • Hosting & Servers
  • Email
  • Security & SSL
  • WordPress & CMS
  • Grow Online
  • Help Center
  • mybox.com
  • English
  • Română
All services operational Start free
  1. Help Center
  2. Email
  3. Mailbox & Webmail Management
How-to Email

Spring Cleaning Your Mailbox: How to Safely Audit, Archive, and Delete Old Data to Free Up Space

Updated June 11, 2026 3 min read
On this page
  1. Audit Your Storage Usage
  2. Clean Up Email Storage
  3. Empty Trash and Junk Folders
  4. Find Large Messages
  5. Archive Older Messages
  6. Review Files Using FTP or SFTP
  7. Old Backup Files
  8. Cache Directories
  9. Advanced Storage Analysis Using SSH
  10. Manage Log Files
  11. Prevent Future Storage Issues
  12. Regularly Empty Deleted Mail
  13. Limit Backup Retention
  14. Monitor Log Growth
  15. Review Storage Periodically
  16. Summary

Running out of storage space can cause missed emails, failed backups, application issues, and other unexpected problems. Fortunately, a quick storage audit can help you identify what’s consuming space and safely reclaim it.

Whether the storage is being used by email messages, website backups, logs, or application files, regular maintenance helps keep your account performing efficiently.

Audit Your Storage Usage

Before deleting anything, determine where the storage is being used.

The most common sources of storage consumption are:

  • Large email folders
  • Website backups
  • Application cache files
  • Log files
  • Media uploads
  • Temporary files

For email accounts, log in to your preferred mail client or webmail and check which folders consume the most space. Sent, Archive, Trash, and Junk folders are often the largest.

For hosting accounts, you can use FTP, SFTP, or SSH access to review your files and identify unusually large directories.

Clean Up Email Storage

Empty Trash and Junk Folders

Messages stored in Trash and Junk folders still consume storage space until they are permanently removed.

Empty these folders regularly to reclaim space immediately.

Find Large Messages

Sorting messages by size is often more effective than sorting by date.

Large attachments such as:

  • PDFs
  • Presentations
  • ZIP archives
  • Videos
  • Images

can quickly consume mailbox storage.

Download any important attachments you want to keep and remove the original emails if they are no longer needed.

Archive Older Messages

If you need to retain old correspondence for business or compliance reasons, consider archiving it locally.

Most desktop mail clients, including Outlook and Thunderbird, allow you to create local folders and move messages from the server to your computer. This preserves your email history while reducing server storage usage.

Review Files Using FTP or SFTP

FTP and SFTP clients allow you to browse your hosting account and identify unnecessary files.

Popular clients include:

  • FileZilla
  • Cyberduck
  • WinSCP

After connecting to your account, review directories that commonly grow over time.

Old Backup Files

Many website backup plugins create ZIP or TAR archives that remain stored indefinitely.

Look for old backups that:

  • Have already been downloaded elsewhere
  • Are no longer needed
  • Exist in multiple copies

Before deleting any backup, make sure you have another valid copy available.

Cache Directories

Applications often generate cache files to improve performance.

While cache directories can sometimes consume significant storage, only remove cache files if you understand how your application manages them. Most modern applications provide a built-in option to clear caches safely.

Advanced Storage Analysis Using SSH

SSH provides the fastest way to identify large files and directories.

Connect to your account using an SSH client:

ssh username@yourdomain.com

To display the largest directories in your current location, run:

du -h --max-depth=1 | sort -hr

This command sorts directories by size, allowing you to quickly identify storage-heavy locations.

You can then navigate into large directories and repeat the command to find the exact source of the storage usage.

Manage Log Files

Log files help diagnose application and server issues, but they can grow significantly over time.

Common examples include:

  • error_log
  • debug.log
  • application logs

If a log file becomes unusually large and is no longer needed for troubleshooting, you can safely clear its contents while preserving the file itself:

> error_log

This resets the file size without removing the file.

Before clearing any logs, ensure the information is no longer needed for diagnostics.

Prevent Future Storage Issues

A few simple maintenance habits can prevent storage problems from returning.

Regularly Empty Deleted Mail

Configure your email client to periodically clear Trash and Junk folders.

Limit Backup Retention

If your website creates automated backups, configure it to retain only a reasonable number of recent copies.

Monitor Log Growth

Large or rapidly growing logs may indicate application errors that should be investigated.

Review Storage Periodically

Performing a storage review every few months can help prevent unexpected quota limits and keep your services running smoothly.

Summary

Storage usage naturally increases over time as emails, backups, logs, and application data accumulate. Regular maintenance helps keep your mailbox and hosting account organized while reducing the risk of service interruptions.

By periodically reviewing your email folders, backup files, cache directories, and log files, you can reclaim valuable storage space and maintain optimal account performance.

Was this article helpful?

Didn't find an answer?

Our support team is here for you 24/7 – write to us and we will help you sort it out.

Helpdesk 24/7 Open a ticket in the mybox panel mybox panel Log in and manage your services

On this page

  1. Audit Your Storage Usage
  2. Clean Up Email Storage
  3. Empty Trash and Junk Folders
  4. Find Large Messages
  5. Archive Older Messages
  6. Review Files Using FTP or SFTP
  7. Old Backup Files
  8. Cache Directories
  9. Advanced Storage Analysis Using SSH
  10. Manage Log Files
  11. Prevent Future Storage Issues
  12. Regularly Empty Deleted Mail
  13. Limit Backup Retention
  14. Monitor Log Growth
  15. Review Storage Periodically
  16. Summary

Related articles

All in Mailbox & Webmail Management
How-to Mailbox & Webmail Management How do I import mailboxes? The mybox panel includes a built-in import tool that pulls messages from an external email account directly into a mybox mailbox. This… 1 min read How-to First Email & Domain Setup How to add a new mailbox Email accounts in mybox are tied to a domain in your account. You can create a mailbox on your own domain or… 1 min read How-to WebMail mail.mybox.com How to change your email password in WebMail The mailbox password can be changed directly in webmail at mail.mybox.com — without accessing the mybox panel. This is useful when the… 1 min read
mybox

Modular web hosting – free out of the box, modular to grow.

Help sections

  • Getting Started
  • Account & Billing
  • Domains & DNS
  • Hosting & Servers
  • Email
  • Security & SSL
  • WordPress & CMS
  • Grow Online

mybox

  • mybox.com
  • mybox panel
  • Webmail
  • Helpdesk 24/7
© 2026 mybox 1,680 articles