You can enable mail flow between Microsoft 365 or Office 365 and any SMTP-based email server, such as Exchange or a third-party email server. If you have EOP and your own email servers, or if some of your mailboxes are in Microsoft 365 or Office 365 and some are on your email servers, set up connectors to enable mail flow in both directions. How do connectors work with my on-premises email servers? To learn more about partner scenarios, see Set up connectors for secure mail flow with a partner organization. If you apply the steps described in this article to partner email services, you may have unintended consequences including email delivery failure. Before you get started, make sure to check on your specific scenario in I have my own email servers.