Email Routing tells the hosting server whether a domain’s mail should be delivered locally or sent to an external mail service. A mismatch can cause website-generated messages to reach the wrong mailbox even when public MX records look correct.
IN THIS ARTICLE
What you need before you begin
Identify the provider that actually hosts the domain’s mail and record the current routing choice. Check authoritative MX records, not only a DNS zone copied into cPanel.
01 Select Local or Remote Mail Exchanger in cPanel
- Open Email Routing and select the domain.
- Choose Local Mail Exchanger when this server accepts the domain’s mail into local mailboxes. Choose Remote Mail Exchanger when the domain uses an external provider.
- Use Backup Mail Exchanger only for an intentionally configured backup-mail design. It is not the normal choice for Google Workspace, Microsoft 365 or another remote mailbox provider.
- If using Automatically Detect Configuration, remember that cPanel evaluates its local zone records. It does not continuously discover later external DNS changes for you.
- Save, send an external inbound message and trigger a test from a website on the same server. Confirm both arrive at the real provider.
Confirm the expected result
Local website messages and external senders should reach the same intended mail system. Verify that no important message remains in an old local mailbox after a migration.
Troubleshoot unexpected results
If external delivery works but the website’s mail does not, recheck routing, application SMTP settings and local filters. If neither works, inspect MX records and the destination provider. Revert only to a recorded configuration that matches the real mail service.
Does routing change public DNS?
This setting controls local mail handling. You must separately publish the correct MX and supporting DNS records at the domain’s authoritative DNS provider.