Forum Discussion

Hieu_Vu's avatar
Hieu_Vu
Copper Contributor
Jan 10, 2024

Exchange Server 2016 send/receive from Office 365 via SMTP Server

Firstly, i'm sorry because i'm not really good in English

So, my problem is I have Exchange Server without connection to Internet, I have a SMTP Server that can connect to the Internet (port 443, 25) and i had been configuring Exchange Hybrid correctly on this server.

I have one question that, can i send/receive mail from/to Office 365 and back to my exchange server and how can i do that?

Hope someone can help me.

  • Hieu_Vu's avatar
    Hieu_Vu
    Copper Contributor

    Hieu_Vu I have one question that, can i send/receive mail from/to Office 365 and back to my exchange server via my SMTP server and how can i do that?

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi Hieu_Vu,

    it is possible to establish mail communication between Office 365, Exchange Server, and an SMTP server. Below are general steps that can guide you through the process:

    1. Define Your Scenario:
      Determine whether it's an internal relay (for devices and applications communicating with internal recipients) or an external relay (for those communicating with external recipients).

    2. Authentication Consideration:
      Decide whether devices and applications will authenticate or connect anonymously.

    3. Configure TLS for Authenticated Relay:
      If using authenticated relay, set up the TLS certificate for the client front-end connector.

    4. Configure Anonymous Relay:
      For anonymous relay, create a new receive connector restricted to specific remote IP addresses.

    5. Enable Mail Flow Between Microsoft 365 and SMTP Servers:
      If needed, enable mail flow between Microsoft 365 or Office 365 and any SMTP-based email server like Exchange or a third-party server.

    You can check these links for more info;
    practical365.com
    Set up connectors to route mail between Microsoft 365 or Office 365 and your own email servers | Microsoft Learn


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

  • M365ftbotteam's avatar
    M365ftbotteam
    Copper Contributor

    Hieu_Vu,

     

    The M365 FastTrack Bot team has identified this as a great post/opportunity to leave a comment about the Microsoft Email setup guide. If you would like information on how to set up Microsoft Exchange Online email service in your organization, learn more on this page. 

     

    Our setup guides offer a seamless experience by guiding you through each step. They connect directly to your organization's account, tailoring guidance to your specific needs and ensuring efficient integration. 

     

    Additionally, Microsoft 365 guides are available to all users, including potential clients, partners, and IT admins, at setup.microsoft.com. Access them freely without the need for login credentials. 

Resources