Managing mailbox quota and storage

Is your inbox full and you're not receiving new emails? In this guide, you'll learn how to manage your email quota, free up space, and prevent it from filling up again.

7 min Updated 20 Sep 2026

What is an email quota and why does it matter?

An email quota (Mailbox Quota) is the maximum amount of space allocated to your mailbox. This quota is enforced on the mail server and includes all messages, attachments, drafts, and even emails in the "Deleted" folder. When this space fills up, the server typically stops sending and receiving new emails, and users notice that important messages never reach them.

In business email services, the quota is usually set between 1 and 10 gigabytes per user. But the key point is that a quota is not just a simple number; managing it properly can prevent service interruptions, loss of important emails, and even disruption to business processes. In this article, you'll learn exactly what happens when your email quota fills up, how to free up space, and most importantly, how to prevent the problem from recurring.

What happens when the email quota is full?

Many users assume that a full mailbox simply means "no new emails arrive." But the reality is more complex. Depending on the server configuration, one of the following scenarios may occur:

  • Receiving emails stops: The server rejects new emails, and the sender receives a Mailbox full or Quota exceeded error. This error is typically logged on the server as 550 5.2.2 Mailbox full.
  • Sending emails stops: On many mail servers, when the quota is full, you cannot send new emails either, even if you have deleted old messages.
  • New emails bounce back: If your server uses catch-all or forwarding, new emails may be redirected to another mailbox or returned to the sender.
  • Connected services are disrupted: If you use email to receive server alerts, automated invoices, or messages from monitoring systems, a full quota can cause you to miss these critical messages.

Important note: On some services, when the quota reaches 90%, the server sends warnings to the system administrator. If you ignore these warnings, your service may stop at the worst possible time.

The difference between soft and hard quotas

Modern mail servers define two types of quotas:

  • Soft Quota: When you reach this limit, the server sends a warning, but the service remains active. This limit is usually set at 80% of the main quota.
  • Hard Quota: When you reach this limit, sending and receiving stop entirely. This is the final ceiling.

For example, if your main quota is 2 gigabytes, the soft quota is set at 1.6 gigabytes and the hard quota at 2 gigabytes. In this case, when you reach 1.6 gigabytes, you receive a warning and have a chance to free up space before the service is completely stopped.

How to free up space in your email mailbox?

Freeing up space in your mailbox isn't difficult, but it requires a systematic approach. Let's go through it step by step:

1. Find the largest messages

Most of your mailbox space is usually taken up by a small number of large messages. To find these messages, use the advanced search feature of your email client. In Gmail, you can use the query size:10M to see messages larger than 10 megabytes. In Outlook, use the Search Tools option and then Size. In IMAP-based clients like Thunderbird, you can enable the Size column and sort messages by size.

Once you've found the large messages, decide whether you really need them. Messages containing video files, compressed archives, or bulky documents are usually the best candidates for deletion.

2. Separate attachments

If you have messages with important attachments but the message text itself isn't valuable, you can download the attachment and then delete the message. To do this:

  1. Save the attachment to a local disk or cloud storage.
  2. Move the original message to an "Archive" folder or delete it.
  3. If you use services like Google Workspace, you can move the attachment to Google Drive and slim down the email copy.

This is especially useful for invoice emails, contracts, and legal documents that need to be kept but don't need to occupy mailbox space.

3. Empty the "Deleted" and "Spam" folders

Many users forget that deleted emails still occupy quota space. On most services, deleted emails remain in the Trash folder for up to 30 days. To free up space:

  • Empty the Trash or Deleted Items folder.
  • Check and empty the Spam or Junk folder.
  • If you use IMAP, make sure the deletion is actually performed on the server, not just in the local client.

A common mistake is that users delete emails in the client but don't enable the "delete from server" option. In this case, the quota space is not freed.

4. Use automatic archiving

If you have many old emails that you need but don't want them to occupy quota space, use the archiving feature. On services like Gmail, archiving messages removes them from the inbox but keeps them searchable. On business services, you can create a local folder in Outlook or Thunderbird and move old messages there.

Important note: Archiving in Gmail does not free up quota space; it only organizes the inbox. To actually free up space, you need to delete messages or move them to an external service.

How to prevent your email quota from filling up again?

Cleaning up once solves the immediate problem, but if you don't find the root cause, you'll face the same issue again. Here are some practical strategies to prevent the quota from filling up again:

1. Set an attachment size limit

On business mail servers, you can limit the maximum attachment size. For example, on servers using Postfix, you can set the following value in the file /etc/postfix/main.cf:

message_size_limit = 20480000

This value means the maximum size of each message is 20 megabytes. This forces users to send large files through file-sharing services, preserving mailbox space.

2. Create automatic rules to delete old messages

In professional email clients, you can define rules that automatically delete messages older than a certain date. For example, in Outlook, you can create a rule that moves messages older than 6 months to a local archive folder. In Gmail, you can use filters:

older_than:180d

You can combine this filter with the "delete" action to automatically purge old messages.

3. Use file-sharing services

Instead of sending large files as attachments, use services like Google Drive, Dropbox, or your organization's internal file-sharing service. Send the file link in the email instead. This not only preserves mailbox space but also makes file version management easier.

4. Regular quota monitoring

If you are a system administrator, you can write a simple script to monitor user email quotas. For example, on Dovecot-based servers, you can use the following command to view all users' quotas:

doveadm quota get -A

The output of this command shows how much space each user has used and what their quota is. You can put this command in a cron job and send an email alert to the administrator:

0 8 * * * doveadm quota get -A | awk '$4 > 90 {print $1, $4}' | mail -s "Quota Warning" admin@example.com

This script runs every day at 8 AM and alerts the administrator if any user has used more than 90% of their quota.

Common mistakes in email quota management

In this section, we'll point out several common mistakes that users and system administrators often make:

  • Deleting emails from the client without syncing with the server: If you use IMAP and the "delete from server" option is not enabled, emails are deleted in the client but the quota space is not freed. Always check the sync status after deletion.
  • Forgetting the "Deleted" folder: Deleted emails occupy quota space until the Trash folder is emptied. Empty this folder regularly.
  • Using email as storage: Some users use their mailbox to store files. This causes the quota to fill up quickly. Use dedicated storage services for files.
  • Ignoring quota warnings: When you receive a soft quota warning, act immediately. Don't wait until the hard quota kicks in and the service stops.

Summary

Email quota management is an ongoing responsibility, not a one-time task. By finding the biggest space consumers, regularly cleaning up deleted and spam folders, and using automatic rules, you can prevent your mailbox from filling up. If you are a system administrator, regular monitoring and setting attachment size limits can prevent problems for all users.

If your email quota fills up frequently and you need more space, you can talk to your email service provider's support team. Services like ServerNet offer options to increase the quota or use alternative solutions such as external archiving. But before requesting more space, make sure you are using your current space optimally.

Was this page helpful?