Exchange Connection Problems

How to Troubleshoot Windows Server SMTP Relay Queue Issues

Adam DavisAdam Davis Nov 3, 2026 868 views

Question details

Users need to resolve an issue where a Windows Server SMTP relay stops sending messages to Exchange Online, causing emails to accumulate in the queue.

How to Troubleshoot a Windows Server SMTP Relay Queue
Product
Windows Server / Exchange Online
Device & OS
Windows Server 2012 R2
Scenario
Managing an SMTP relay server configured to send outgoing mail through Exchange Online that has suddenly stopped processing the message queue.
Observed behavior
The SMTP relay fails to deliver outbound messages, resulting in a large backlog of emails accumulating in the local server queue.
Before you start

Ensure you have administrative access to the Windows Server running IIS 6.0 and network permissions to verify outbound port connectivity to Exchange Online.

Solution 1Recommended

Verify SMTP Relay Configuration and Credentials

Check the core settings of the SMTP Virtual Server to ensure it correctly authenticates and connects to the Exchange Online smart host.

Authentication failures or incorrect smart host settings are the most common reasons for messages backing up in a Windows Server SMTP queue.

1
Open IIS Manager

Launch Internet Information Services (IIS) 6.0 Manager from the Administrative Tools menu on your Windows Server.

2
Access SMTP Virtual Server Properties

Right-click on your SMTP Virtual Server instance and select Properties from the context menu.

3
Check Outbound Security

Navigate to the Delivery tab and click 'Outbound Security'. Verify that Basic Authentication is selected, TLS encryption is enabled, and the correct Office 365 credentials are provided.

4
Verify Smart Host Settings

Click 'Advanced' on the Delivery tab. Ensure the Smart host field is correctly pointing to 'smtp.office365.com' or your organization's specific MX endpoint.

Verify SMTP Relay Configuration and Credentials
Office 365 Security Defaults: If your Microsoft 365 tenant has security defaults enabled or requires Multi-Factor Authentication (MFA), basic SMTP authentication may be blocked, causing the queue to build up.
Free Microsoft Office alternative

Try WPS Office for Your Everyday Productivity Needs

While troubleshooting server-side Exchange connection problems requires Microsoft administrative tools, your daily document management shouldn't be complicated. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office for creating, editing, and sharing documents seamlessly.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation that doesn't burden your system resources.Built-in PDF editing, conversion, and collaboration tools.Familiar user interface for a zero-learning-curve transition.
microsoft office alternative - wps office

Frequently Asked Questions

Where are the SMTP relay queue files physically located on Windows Server?

By default, the SMTP queue files are stored in the 'C:\inetpub\mailroot\Queue' directory. You can monitor this folder to see if .EML files are accumulating during a delivery failure.

Why is my SMTP relay connection to Exchange Online timing out?

Timeouts often occur due to network firewalls, antivirus software, or ISP restrictions blocking outbound traffic on port 25 or 587. Check your network routing and firewall rules to ensure the required ports are open.

Can an expired SSL certificate cause the SMTP queue to stop processing?

Yes. If your SMTP relay is configured to use opportunistic or forced TLS to connect securely to Exchange Online, an expired or invalid certificate will cause the handshake to fail, leaving outgoing messages stuck in the queue.