Exchange Server Mail Queue Getting Stuck

Outgoing emails sitting in the queue for hours without being delivered.

Problem

Users couldn't send emails externally; messages sat in 'Queued' status for hours in the Exchange Toolbox, while inbound mail worked fine.

Cause

Disk usage on the server had crossed the 90% back pressure threshold; Exchange's back pressure mechanism had automatically throttled new message submissions as a result.

Solution

Freed up disk space by cleaning old transaction logs and unnecessary data, confirmed via Get-ExchangeDiagnosticInfo that back pressure had returned to 'Normal', and observed the queue draining automatically. Set up a proactive monitoring alert for disk usage going forward.

Get-ExchangeDiagnosticInfo -Process EdgeTransport -Component ResourceThrottling
Get-Queue | Where-Object {$_.MessageCount -gt 0}
Get-TransportServer | Get-Queue

View solution source on GitHub