Email Migration

Route Mail to an External Server During a Microsoft 365 Domain Migration

Khadija KhanKhadija Khan Nov 3, 2026 869 views

Question details

A tenant administrator needs to route emails from one accepted domain to another in the same Microsoft 365 tenant using an external MX record rather than internal routing.

Route Mail to an External Server During a Microsoft 365 Domain Migration
Product
Microsoft 365 / Exchange Online
Device & OS
not provided
Scenario
Migrating a domain from an old mail service to Microsoft 365, where some users still reside on the old external mail server.
Observed behavior
Exchange Online bypasses the external MX record and delivers messages internally because both domains are accepted in the same Microsoft 365 tenant.
Before you start

Ensure you have Exchange Administrator or Global Administrator privileges in your Microsoft 365 tenant before modifying domain settings and mail flow connectors.

Solution 1Recommended

Change Accepted Domain Type and Create an Outbound Connector

Configure the migrating domain as an Internal Relay and set up an outbound connector to force Exchange Online to route unresolved mail to your old server.

When a domain is set to 'Authoritative', Microsoft 365 assumes it hosts all mailboxes for that domain and will drop messages for unknown users. By changing the domain type to 'Internal Relay', you instruct Exchange Online to forward messages to your old server if the mailbox does not exist in the cloud.

1
Set domain to Internal Relay

Log in to the Exchange admin center (EAC). Navigate to Mail flow > Accepted domains. Select your migrating domain, change its type to 'Internal Relay', and save the changes.

2
Remove conflicting active mailboxes

Ensure you do not have active Exchange Online mailboxes created for the users who still need to receive their mail on the old external service during the migration.

3
Create an outbound connector

In the EAC, navigate to Mail flow > Connectors. Click the '+' icon to add a new connector. Choose 'Office 365' as the from location and 'Your organization's email server' as the to location.

4
Configure routing details

Specify the domain that needs external routing. When prompted for how to route the messages, enter the IP address or the smart host (FQDN) of your old mail server.

5
Validate and save

Follow the rest of the wizard to validate the connection using an email address hosted on the old server, and save the connector once validation succeeds.

Change Accepted Domain Type and Create an Outbound Connector
Migration Tip: This setup allows for a seamless coexistence stage. Mailboxes already migrated to Microsoft 365 will receive emails internally, while users still on the old server will receive theirs via the outbound connector.
Free Microsoft Office alternative

Looking for a cost-effective alternative to Microsoft 365?

While managing domain migrations and optimizing your IT infrastructure, you might also be evaluating your software deployment costs. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office applications.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install the Software: Run the downloaded file and follow the simple on-screen instructions to complete the installation.
  3. 3. Open Existing Documents: Launch WPS Office and seamlessly open your existing Microsoft Office files without losing any formatting.
Highly compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Familiar ribbon interface minimizes training time for teams transitioning from Microsoft 365.Lightweight installation that runs smoothly across various desktop and mobile platforms.All-in-one software combining document, spreadsheet, presentation, and PDF editing tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft 365 ignore my external MX record by default?

When a domain is added to a Microsoft 365 tenant, Exchange Online treats it as 'Authoritative' by default. This means it assumes it hosts all mailboxes for that domain and routes emails internally, intentionally bypassing external MX records to optimize delivery speed.

What is an Internal Relay domain in Exchange Online?

An Internal Relay configuration tells Exchange Online that it does not host all mailboxes for a specific domain. If a mailbox is not found within the Microsoft 365 tenant, Exchange will forward the message to an external server using your configured mail flow connector.

Can I migrate mailboxes gradually using this method?

Yes. By setting the domain to Internal Relay and configuring an outbound connector, you can migrate mailboxes in batches. Users already migrated to Microsoft 365 receive mail internally, while remaining users have their mail routed to the old server.