Forum Discussion

angeloforum's avatar
angeloforum
Copper Contributor
Jan 11, 2023

Mail flow from OnPrem to Office365

Hello everybody,
I have a problem and I would like to ask you who are more experienced.
I have an onpremise exchange server Exchange 2019 CU9 connected to Office365, the MX record sends mail directly to Office365.
For sending mail if the mailbox is on office365 it sends directly via Office365 while if the mailbox is on premise on the exchange server it sends via the exchange server.
I would like to know if it is possible to configure Send connector from onpremise exchange to send via Office365.
I am attaching the screenshots of the on-premise exchange connectors

 

i hope all it's clear

Regards

 

Angelo

5 Replies

  • Dan_Snape's avatar
    Dan_Snape
    Bronze Contributor
    You should be able to achieve this by configuring your "ExternalMail" send connector with a smart host value that matches your MX record. You could update your hybrid connector to do this, but every time you run the HCW it will update this connector and potentially overwrite the configuration. Ideally you'd create a new send connector and test with a couple of external recipient domains first.
    • angeloforum's avatar
      angeloforum
      Copper Contributor
      Hi Dan,
      my record MX is mydomain-com.mail.protection.outlook.com., i put this record in smart host value?
      • Dan_Snape's avatar
        Dan_Snape
        Bronze Contributor
        Yes, that will be the value of the smarthost for the send connector you are using to send outgoing mail (whether it's for a test recipient domain or all domains) via EOP