WHM Mail Queue Stuck? How to Fix Frozen and Delayed Emails in cPanel

Priya

Content Writer & Researcher

Last Updated: 6 October 2026
WHM Mail Queue Stuck? How to Fix Frozen and Delayed Emails in cPanel
🖥️

Is a Stuck WHM Mail Queue Costing You Clients?

Email delivery failures frustrate clients and hurt your server's reputation. CloudHouse's cPanel experts can diagnose your Exim queue, fix the root cause, and set up monitoring to prevent future outages — contact us for fast resolution.

🖥️12,400+PCs Fixed
⭐4.9★Google Rating
⚡<15 minAvg. Response
🛡️ISO 27001Certified

A stuck WHM mail queue is one of the most disruptive issues a cPanel server can face. Emails pile up, clients report that messages aren't arriving, and the problem compounds by the hour. The good news: most stuck mail queue issues are fixable within minutes once you know where to look. This guide covers every method — from the WHM graphical interface to advanced Exim command-line fixes — plus how to find and eliminate the root cause so it doesn't come back.

What Causes the WHM Mail Queue to Get Stuck?

The Exim mail transfer agent (MTA) used by cPanel manages all outgoing email. When the queue backs up, it's almost always one of these causes:

  • DNS resolution failures: Exim can't look up the MX record for the destination domain — messages queue while retrying
  • Remote server rejections: The destination mail server is down, blacklisting your IP, or enforcing rate limits
  • Frozen messages: Exim marks messages as "frozen" after repeated delivery failures — frozen messages stop retrying entirely
  • Mail bomb or spam loop: A compromised account or script is flooding the queue with thousands of messages
  • Exim misconfiguration: Incorrect relay settings, missing SPF/DKIM, or conflicting mail routing rules
  • Server resource exhaustion: High load, disk full, or memory pressure preventing Exim from processing the queue

💡 None of these worked? Skip the guesswork.

Get Expert Help →

Fix 1: Manage the Queue via WHM Mail Queue Manager

The fastest first step is the WHM Mail Queue Manager — no command line needed.

1Open Mail Queue Manager

Log into WHM, then navigate to Email → Mail Queue Manager (or search "queue" in the WHM search bar).

2Review the Queue

You'll see a list of queued messages with their status (frozen, active, deferred) and destination addresses. Look for patterns: hundreds of messages to the same domain, or a flood of bounces, both indicate a specific root cause.

3Take Action
  • Attempt Delivery: Forces an immediate retry for selected messages
  • Deliver All: Forces delivery of the entire queue right now — useful when Exim was paused or just misconfigured
  • Delete Selected: Remove specific messages (e.g., spam or undeliverable bounces)
  • Delete All: Nuclear option — wipes the entire queue. Only use this if the queue is full of spam you're sure you don't need.
1Identify the culprit sender
# Find the top senders in the current queue
exim -bp | exiqsumm | sort -rn | head -20

# Find all messages from a specific sender
exiqgrep -f "sender@example.com" -i
2Delete all messages from the abusive sender
exiqgrep -f "sender@example.com" -i | xargs exim -Mrm
3Lock the account or suspend the script

In WHM, go to Account Functions → Manage Shell Access to disable shell for compromised users, or temporarily suspend the cPanel account under Account Functions → Modify an Account.

4Prevent future mail bombs

Enable BoxTrapper or configure Exim rate limits in WHM under Exim Configuration Manager → Advanced Editor. Set smtp_accept_max_per_host and ratelimit ACL conditions to throttle any single account.

Prevent Future Mail Queue Issues

A few proactive steps will dramatically reduce mail queue problems going forward:

  • Set up DKIM, SPF, and DMARC: Proper email authentication reduces the chance of your IP being blacklisted
  • Enable SpamAssassin: Catches spam before it queues — configure a threshold of 5–6 in WHM's Apache SpamAssassin Configuration
  • Set Exim rate limits: Limit how many messages any single account can send per hour via the Exim Configuration Manager
  • Monitor queue size daily: Use exim -bpc in a cron job and alert yourself if the count exceeds a threshold (e.g., 500 messages)
  • Keep DNS resolvers fast: Use 8.8.8.8 and 1.1.1.1 in /etc/resolv.conf for reliable lookups

If your mail queue keeps stalling despite these fixes, the issue may be more complex — an Exim configuration conflict, a persistent spam source, or a blacklisted IP that needs formal delisting. CloudHouse's server management team can audit your Exim configuration, clear blacklistings, and implement rate-limiting to permanently resolve repeated mail queue problems.

FAQs

Get the Free Linux Server Admin Cheatsheet (PDF)

Essential commands for server management, networking, and troubleshooting — all on one printable page.

Running Linux servers? Let us manage them for you.

Our Managed Linux Server plans cover updates, security hardening, monitoring, and 24/7 incident response — so your servers stay up and your team stays focused.

  • Proactive OS patching and security updates
  • 24×7 monitoring with instant alerting
  • Backup configuration and disaster recovery
  • Dedicated Linux engineers on call
See Pricing Plans →

What our customers say

“Our production server went down at 2 AM. CloudHouse had it back online in under 20 minutes. Incredible response time.”

Arun S.

CTO, SaaS Startup

“They migrated our entire infrastructure from Ubuntu 18 to 22 with zero downtime. Couldn't have asked for better.”

Deepak N.

DevOps Lead

Frequently Asked Questions

A frozen message is one that Exim has given up trying to deliver after repeated failures. Unlike deferred messages (which still retry automatically), frozen messages stop retrying entirely until you manually unfreeze them. Use 'exim -qff' to unfreeze all frozen messages and force an immediate retry attempt.

Need this done for you?

Server Management Service

Managed Linux and Windows servers: monitoring, patching, security and 24/7 support.

Learn more

Book your free 15-minute diagnosis

A certified technician will call you back within 15 minutes during business hours.

Share this article

Leave a Comment

Comments (0)

Loading comments...