How to Setup Office 365 to Route Mail to your Own Email Server (SMTP).
In this guide you'll find detailed steps on how to route mail from Microsoft 365/Office 365 to your own SMTP Email server, by configuring an Outbound Connector in Office365 Exchange Online.