NAT for SMTP relay server

Marc 631 Reputation points
2021-06-26T20:03:00.913+00:00

I would like to connect an 365 EOP to on-prem SMTP relay server using a NAT system. The on-prem exchange server 2016 doesn't have a public IP.
What could be the best way to do it?

Exchange | Exchange Server | Management
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kael Yao 37,746 Reputation points Moderator
    2021-06-28T07:06:49.737+00:00

    Hi @Marc

    From your description, I suppose you would like to route outbound emails through EOP.

    Here is a link on this topic for your reference:
    Set up connectors to route mail between Microsoft 365 or Office 365 and your own email servers

    The general steps would be:

    1. create a connector in Microsoft 365 to receive emails from Exchange Server
    2. create a send connector on your Exchange server to route emails through smart host (Microsoft 365)

    And since you are using NAT, please make sure port 25 is open in NAT rules to allow the mail flow traffic between Exchange server and EOP.


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.


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.