Issue receiving mail from Microsft365 in Exchange 2016 Hybrid configuration

Hwls 0 Reputation points
2023-09-28T17:03:37.1666667+00:00

I have a onprem 2016 exchange server and have configured a hybrid connection to Microsoft365. I am able to send and receive emails from the test migration account on M365 to a gmail address. I can send an email from my onprem exchange to the M365 account and it is received. However, I cannot send an email from M365 to the onprem.

The email goes into defer status according to message trace with the Reason: [{LED=450 4.4.316 Connection refused [Message=Socket error code 10061].

I suspect it has to do with the fact that our mx record points to a third party service that monitors for spam. I don't want to change the mx record because I only want to migrate ~10 email accounts to M365 and leave the other 50+ users on the onprem exchange server. I've read just about every article I could find on this issue but have not been able to get it to process. I'm hoping someone here has other suggestions or experienced the same scenario and can offer assistance. Thank you.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,539 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
539 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,108 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Hwls 0 Reputation points
    2023-09-28T17:46:34.23+00:00

    please disregard. I tried to delete the question but wasn't able to find a way to do so.

    0 comments No comments

  2. Aholic Liang-MSFT 13,856 Reputation points Microsoft Vendor
    2023-09-29T02:07:59.5766667+00:00

    Hi @ Hwls

    Just want to confirm that your issue is solved?

    If it has been resolved, please click "Accept answer" to mark this post or share your solution, your action would benefit others who have similar issues.


    Here are some of my suggestions for this issue:

    1. Check your firewall and make sure EXO can access your on-perm server (port 25).
    2. Temporarily turn off firewall and antivirus software to test mailflow.
    3. Check the configuration of the connector that is used for message transport between your on-premises and Exchange Online organizations.
    4. Make sure that the domain name you're using has also been successfully added to O365.
    5. Check to make sure that a valid certificate purchased from a trusted CA is used for secure message transmission.
    6. Check that you've correctly added an SPF record for your domain in Office 365.

    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

Your answer

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