Intermittent hybrid mail flow latency in Exchange 2019 and Exchange Online environment

Slater Kinja 20 Reputation points
2025-10-20T09:55:23.7+00:00

We’re running a hybrid Exchange environment (Exchange Server 2019 on-premises + Exchange Online) and have recently noticed intermittent delays when sending mail from on-premises mailboxes to cloud mailboxes. Messages sometimes take several minutes to deliver, while other times they arrive instantly. The hybrid mail flow is configured using the Hybrid Configuration Wizard with modern hybrid connectors, and TLS is enforced end-to-end.

Message trace and transport logs show that messages occasionally queue in the on-premises transport service with the event “421 4.4.0 Remote server temporarily rejected message.” Connectivity tests using Test-HybridConnectivity and Test-MailFlow complete successfully.

Are there specific transport logging or connector-level diagnostics that can help identify whether the delay occurs on the on-premises side or within Exchange Online transport?

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Hin-V 7,605 Reputation points Microsoft External Staff Moderator
    2025-10-20T13:18:59.29+00:00

    Hi @Slater Kinja

    Thank you for posting your question in Microsoft Q&A. 

    We understand that you are experiencing intermittent delays in your hybrid environment when sending mail from on-premises mailboxes to cloud mailboxes. This issue may be caused by throttling, backpressure, or temporary resource constraints on the Exchange Online (EXO) side. However, they could also stem from configuration mismatches, certificate issues, or restrictions Microsoft imposes on mail originating from vulnerable on-premises servers.  

    To help determine where the delay originates, you could try to follow this approach: Enable and Analyze Protocol Logging on the Outbound Send Connector. 

    This is the most effective method to capture SMTP conversations at the connector level, including detailed rejection messages from Exchange Online. It can help determine whether the issue stems from throttling, TLS/certificate problems, or other remote responses. 

    • Identify your hybrid outbound Send connector:
        Get-SendConnector | FL Identity,Name. 
      
    • Enable verbose logging:
        Set-SendConnector -Identity "YourHybridOutboundConnectorName" -ProtocolLoggingLevel Verbose. 
      
    • Restart the Microsoft Exchange Transport service:
        Restart-Service MSExchangeTransport. 
      

    Log Location: %ExchangeInstallPath%TransportRoles\Logs\Hub\ProtocolLog\SmtpSend 

    After observing a delay, open the most recent log file in the SmtpSend folder. Review the full SMTP conversation to identify where the delay or rejection occurs. 

    If the log shows successful initiation from the on-premises server but repeated rejections from the remote server, the issue likely lies with Exchange Online (throttling). If there’s no connection attempt or failure occurs locally, the issue is likely on the on-premises side. 

    Additionally, I have found that this behavior might be caused by default Exchange Server settings that limit the volume of messages sent to a single destination, such as Exchange Online. 

    undefined

    To troubleshoot it, you could try to: 

    Reconfiguring SmtpConnectorQueueMessageCountThresholdForConcurrentConnections parameter 

    Increase MaxPerDomainOutboundConnections 

    Reduce the retry interval value 

    For more information, you could refer to: Email messages are stuck in Exchange Server queues for several minutes - Exchange | Microsoft Learn 

    Please understand that our initial reply may not always immediately resolve the issue. However, with your help and more detailed information, we can work together to find a solution. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".      

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.