Setting email quota on DirectAdmin

Email quota defines the maximum storage space allocated to each mailbox on your hosting account. When a mailbox reaches its quota, incoming emails bounce back to senders with an error message — causing you to miss important client communications. Properly managing email quota in DirectAdmin is essential for keeping your business email running smoothly.

What is Email Quota and Why It Matters

When you sign up for a web hosting plan, you receive a total disk quota (e.g., 5GB or 10GB) shared between your website files and all email accounts. Email quota is the per-mailbox storage limit you assign. Without proper quota management, one overflowing mailbox can consume storage that other accounts and your website depend on.

Setting appropriate quotas ensures fair resource distribution across all email accounts on your domain.

Tip: Set 500MB–1GB for regular staff, and Unlimited for senior executives or sales teams that frequently receive large attachments.

How to Set Email Quota in DirectAdmin

Step 1: Open Email Manager

  1. Log in to DirectAdmin Control Panel at yourdomain.com:2222
  2. Navigate to E-Mail Manager under the "E-Mail" section
  3. Click Create/Modify E-Mail Accounts

Step 2: Modify Quota for Existing Accounts

  1. Select the email account you want to modify
  2. In the Quota (MB) field, enter the storage size, e.g., 500 for 500MB
  3. Enter 0 for Unlimited storage
  4. Click Modify to save changes

Step 3: Set Quota When Creating New Accounts

When creating a new email account, DirectAdmin shows a Quota field immediately. Set an appropriate value from the start to prevent storage issues later.

Recommended Quota by User Type

User Type Recommended Quota Reason
General Staff250–500 MBRegular email, small attachments
Sales / Marketing1–2 GBContracts, images, media files
Executives2 GB or UnlimitedLong-term email retention needed
General Addresses (info@)500 MB–1 GBCustomer inquiries, medium files

How to Monitor Email Storage Usage

DirectAdmin displays storage statistics in E-Mail Manager where you can see "Used" and "Quota" columns for each account. If any account exceeds 80% usage, take action — clean up old emails or increase the quota.

Fixing Full Email Quota Errors

Signs That a Mailbox is Full

Quick Fix Steps

  1. Log into DirectAdmin → E-Mail Manager → temporarily increase the quota
  2. Log into Roundcube and delete large emails
  3. Empty Trash and Spam folders completely
  4. Adjust quota to a realistic long-term value

Warning: Setting all accounts to Unlimited without planning can exhaust your hosting disk space quickly, affecting website performance.

IMAP vs POP3: Impact on Mailbox Quota

The email protocol your client uses has a direct impact on how quickly mailbox quota fills up. Choosing the right protocol — and configuring it correctly — can reduce storage usage significantly without losing access to important messages.

Protocol Behavior Quota Impact
IMAP Keeps emails on server, syncs all devices Quota grows continuously — regular cleanup required
POP3 Downloads emails to local device, deletes from server Saves server quota — single device access only
POP3 + "Keep copy on server" Downloads and retains server copy Grows slower than IMAP but still requires management

IMAP Best Practices to Reduce Quota Consumption

Using Email Forwarders to Eliminate Quota Usage

If a particular email address only receives and forwards messages — for example, [email protected] forwarding to [email protected] — you can set it up as an Email Forwarder instead of a full mailbox. Forwarders use zero server storage because they have no mailbox of their own.

How to Create an Email Forwarder in DirectAdmin

  1. Log into DirectAdmin → E-Mail Manager → Forwarders
  2. Click Add Forwarder
  3. Enter the source address (e.g., info) and the destination (e.g., [email protected])
  4. Click Create

Maximum quota savings: Email forwarders consume 0 MB of server storage. They work best for catch-all or notification addresses where the recipient doesn't need to reply from that address directly.

Auditing Email Storage via Command Line (Advanced)

Server administrators with shell access can audit mailbox storage far more quickly than navigating the DirectAdmin GUI. The following commands work on standard Linux hosting environments:

# Check storage size of all mailboxes in a domain
du -sh /home/username/mail/domain.com/*/

# Check a specific mailbox
du -sh /home/username/mail/domain.com/info/

# Find the largest files (over 5 MB) inside a mailbox
find /home/username/mail/domain.com/info/cur/ -type f -size +5M -exec ls -lh {} \;

# Count total emails in a mailbox
find /home/username/mail/domain.com/info/ -name "*.eml" | wc -l

These commands help you quickly identify which mailboxes consume the most storage, plan archiving actions, and set accurate long-term quota values before bounce errors affect your business operations.

Managing Email Quota Across Multiple Domains

If you host multiple addon domains under one hosting account, all email storage shares the same disk pool. Plan quota distribution carefully across all domains. Check total usage in DirectAdmin's Account Summary monthly and adjust as your business grows.

Reducing Quota Accumulation With SpamAssassin

One often-overlooked cause of full mailboxes is spam email accumulating in the Junk or Spam folder without regular cleanup. DirectAdmin supports SpamAssassin, a server-level spam filter that blocks unwanted messages before they reach the inbox — reducing both clutter and quota consumption.

Enabling SpamAssassin in DirectAdmin

  1. Log into DirectAdmin → E-Mail section → SpamAssassin Setup
  2. Enable SpamAssassin
  3. Set the Spam Score threshold (e.g., 5 — lower is stricter)
  4. Choose Delete Spam instead of "Move to Spam Folder" to save quota automatically
  5. Save the configuration

Recommendation: If you prefer moving spam to a folder rather than deleting it, set up an automatic cleanup rule to permanently delete messages in the Spam folder after 30 days. This prevents quiet quota accumulation from unchecked spam.

Email Data Retention Policy — Balancing Quota and Compliance

Many organizations experience quota overflow simply because there is no clear data retention policy — a defined rule for how long different types of emails should be kept before deletion. Establishing this policy makes quota management systematic and predictable.

Email Type Recommended Retention Notes
General messages (newsletters) 30–90 days Safe to delete after reading
Client correspondence / contracts 3–7 years Legal implications — archive off-server
Receipts / invoices 5–10 years Required for financial audits
Spam / Junk 7–30 days Auto-delete after 30 days

Archiving important emails to external storage or a dedicated email archiving service before removing them from the mailbox is the best practice for balancing quota savings with legal and business compliance requirements.

Scaling Up: When to Upgrade Your Hosting Plan

If your business is growing and you need to add many new email accounts, review your current hosting plan capacity before the expansion rather than after problems arise. When total email storage demands approach 80% of your plan's disk quota, it is time to upgrade or implement a dedicated email solution to ensure both your website files and mailboxes have enough room to grow.

AsiaGB hosting plans can be upgraded at any time without migrating to a new server, making it straightforward to scale email capacity alongside your team.

Need High-Quality Email Hosting?

AsiaGB provides hosting with unlimited email accounts, easy DirectAdmin control panel, and full SPF/DKIM/DMARC support.

Get AsiaGB Hosting

View all cheap Thailand web hosting plans →