How to Use The Email Routing Interface in cPanel

cPanel Tutorials and How To Guides

Routing a Domain Names incoming mail

Configure the Entry for Each Destination Mail Server

Updated: January 3, 2025
By: RSH Web Editorial Staff

Contact Us


Menu

cPanel - Email - Email Routing

Email Routing
Email routing is handled through DNS or a MX record. This record sends mail where it needs to go. Routing to either your personal server or a 3rd party service such as Google Workspaces..

This feature allows you to configure how the Web Servers system routes a domain name’s incoming email

For an example you could use this interface to configure the Server as a backup mail exchanger, which will hold your email until the primary mail exchanger is available.

cPanel Emails

Configure Email Routing

Warning: Misconfigured Email Routing settings can disrupt your ability to receive mail. If you are unsure which option to choose, contact your system administrator or hosting provider.

To configure how your server routes mail for a domain name, perform the following steps:

Select the desired domain from the menu. If only one domain name exists on your cPanel hosting account, the system selects it automatically.

Select one of the following options under Configure Email Routing:

  • Automatically Detect Configuration - The system uses the following criteria to configure the email routing settings:
  • • Local Mail Exchanger - The lowest numbered mail exchanger points to an IP address on this server.
  • • Backup Mail Exchanger - The lowest numbered mail exchanger points to an IP address not on this server.
  • • Remote Mail Exchanger - No mail exchangers point to an IP address on this server.

Important: This setting only detects the local zone file entries and does not perform an actual DNS lookup. This setting is set upon configuration and does not automatically update. If changes are required, an administrator will need to manually adjust the MX Records in the DNS Zone Manager.
If the configured Mail Exchange MX records do not resolve, automatic detection will not occur.

Local Mail Exchanger
The server always accepts mail for this domain. The system will deliver mail to the local mailbox.

Note: Choose this option if your server uses smart hosts or another gateway service to filter mail. Also, choose this option if your hosting provider deleted the domain’s DNS zone.

Backup Mail Exchanger
The server functions as a backup mail exchanger. The system will hold mail for this domain until a lower number mail exchanger becomes available.

Note: You must configure the primary MX record to point to the appropriate exchanger. To edit MX records, use cPanel’s Zone Editor interface
cPanel » Home » Domains » Zone Editor

Remote Mail Exchanger
The Web Server will not accept mail for this domain. The system sends all mail for this domain to the lowest numbered mail exchanger.

Note: You must configure the primary MX Record to point to the appropriate exchanger. To edit MX records, use cPanel’s Zone Editor interface
cPanel » Home » Domains » Zone Editor.

Click Change.

Watch our video about cPanel Hosting Services on YouTube

Related cPanel Tutorials and How To Guides
Manage, tweak, and increase the security and performance

Tweet  Share  Pin  Email

We welcome your comments, questions, corrections and additional information relating to this article. Please be aware that off-topic comments will be deleted.
If you need specific help with your account, feel free to contact us anytime
Thank you

Crafted with care by our writing pros

At RSH Web Services, we provide cPanel hosting services to personal, professional and corporate businesses. Whether you need a local web address or a fully-featured online presence: we can help you achieve your goals