Send Microsoft 365 Email While Keeping an External Mail Server
Question details
Configure Microsoft 365 users to send email from a custom domain while an external provider continues to receive incoming mail.

- Product
- Microsoft 365 and Exchange Online
- Device & OS
- not provided
- Scenario
- A business wants to use its custom-domain addresses in Microsoft 365 without moving its incoming mail service away from an external provider.
- Observed behavior
- Outgoing messages use the custom-domain address, while the external provider receives incoming mail and forwards it to Microsoft 365 mailboxes.
Confirm that you can manage the domain's DNS records, Microsoft 365 user accounts, and forwarding settings at the external mail provider. Each user who needs an Exchange Online mailbox must have an appropriate license.
Verify the domain and forward external mail to Exchange Online
Use this setup to send from Exchange Online while keeping the external provider responsible for receiving mail.
Verifying the domain establishes ownership; it does not require you to move the domain's MX record to Microsoft 365. This setup sends outgoing messages through Exchange Online, not through the external provider's SMTP server.
In the Microsoft 365 admin center, go to Settings > Domains and select Add domain. Follow the prompts to add the verification TXT record at your DNS provider, then return to Microsoft 365 to verify it.
In your DNS provider's control panel, leave the domain's MX record pointed at the external mail provider. Do not replace it with the Microsoft 365 MX record if the external provider must continue receiving incoming mail.
In the Exchange admin center, open Recipients > Mailboxes, select the user, and manage their email addresses. Set the custom-domain address as the primary SMTP address and confirm that an address on the tenant's onmicrosoft.com domain is available as an alias.
If the business also wants the user's sign-in name to use the custom domain, open Users > Active users in the Microsoft 365 admin center, select the user, and manage their username. Changing the sign-in name is not required solely to change the sending address.
In the external provider's mailbox settings, configure forwarding from the custom-domain mailbox to the user's onmicrosoft.com address. Confirm that the external provider allows forwarding and that the Microsoft 365 mailbox can receive messages at that alias.
At your DNS provider, update the existing SPF record to authorize Microsoft 365 as well as any other legitimate senders; do not create a second SPF record. Review DKIM and DMARC settings, then send a test message from Microsoft 365 and another from an outside account to the custom-domain address.

Work with Office files in WPS Office
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to move existing files, although it does not configure or replace Exchange Online mail routing.

Frequently Asked Questions
Do I have to change the MX record to verify my domain?
No. You can verify ownership using the TXT record supplied under Settings > Domains in the Microsoft 365 admin center and leave the MX record pointed at your external provider.
Does this configuration send mail through the external server?
No. In this configuration, Exchange Online sends outgoing mail, while the external provider receives incoming mail. Sending through an external SMTP server would require a different outbound routing setup.
Why forward mail to an onmicrosoft.com address?
The onmicrosoft.com alias provides an address for the Microsoft 365 mailbox while the custom domain's MX record points to the external provider. Check the alias under Recipients > Mailboxes in the Exchange admin center before configuring forwarding.
Must the user's sign-in name match the primary email address?
No. The user principal name and primary SMTP address can differ. If you want them to match, manage the username under Users > Active users in the Microsoft 365 admin center.
What should I check if forwarded messages fail authentication?
Review the message headers and your SPF, DKIM, and DMARC configuration. Forwarding can break SPF alignment, so ask the external provider about its forwarding and authentication support if messages are rejected or marked as spam.




