Forum Discussion

aussupport's avatar
aussupport
Brass Contributor
Jul 01, 2020
Solved

How to use on-premis smtp relay name with office365

Hi All,

  We are about to decomission our on-premises Exchange server after moving all our mailboxes to Office 365.

 

We have quite lot of devices and applications are configured with smtp.mydomain.com relay address.

 

So how do i keep the same name and relay emails without changing? 

 

AS

  • aussupport 

     

    My pleasure! :smile:

     

    If you want some redundancy, what I normally suggest is to spin up a second Exchange 2016 server and add the same connector.  If you needed to flip over to it, you could change your internal smtp dns entry to point to the IP of the backup.

  • aussupport 

     

    Are you synchronising your AD with Azure AD or are your O365 accounts now cloud only?

     

    If you are still syncing using Azure AD Connect, then Microsoft recommended and supported practice is to leave 1 Exchange On-Premises server to manage attributes, and act as the SMTP relay.

     

    If you are cloud only now, then you have the following options available to you.

     

    https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365

    • aussupport's avatar
      aussupport
      Brass Contributor
      HI Peter,

      Yes, Sync AD with Azure AD and Exchange 2010. I am trying to figure out a way to send SMTP traffic to internal and external addresses from multiple programs and devices on premise without having to setup a few hundred accounts in 365 and costing E5 Licences.

      Looks like only option is setup with SMTP Relay. My MX is point to Proofpoint and connector is setup for hybrid configuration. I can send internal email but not external.
      look like i need to configure the SMTP Relay with them?

      As
      • PeterRising's avatar
        PeterRising
        MVP

        aussupport 

         

        As you are using hybrid identity, I strongly recommend that you leave a single Exchange server in place to manage attributes and SMTP relay.  This is what Microsoft both recommend and more importantly will support.  If you have have some O365 E1 or E3 licences on your tenant, you qualify for a free Exchange 2016 hybrid licence key, and you can install Exchange 2016 to handle all this for you and retire your older Exchange 2010 server(s).  Definitely the path of least resistance and will keep you in a supported position.

Resources