MX Entry — You can learn about adding and manging MX entries here.

For cPanel versions 11.25/26

This feature allows you to route a domain's incoming mail to a specific server. Please note that changing the MX entry will result in the DNS records being changed.
This feature can be useful in creating a backup mail exchanger to handle mail during server downtimes.

  • Configure Email Routing
  • Add a New MX Entry
  • Delete an MX Entry
  • Edit an MX Entry

Configure Email Routing

Warning: Misconfiguring your MX entries can completely disable your ability to receive mail. If you are unsure which option to choose, contact your system administrator.

To determine how mail will be routed for a domain:

  • Select the domain from the pull-down menu.
  • Select an option under Email Routing:
    • Automatically Detect Configuration — The server will automatically detect, and use, the configuration set below and detailed under the MX Records heading at the bottom of the page.
    • Local Mail Exchanger — The domain will accept mail, regardless of whether a higher-priority mail exchanger has been designated. (If a higher-priority mail exchanger exists, mail will be routed to both domains.)
    • Backup Mail Exchanger — The domain will act as a backup mail exchanger, holding mail in queue if the primary exchanger becomes unavailable.
      • Note: You will need to configure the primary MX entry to point to the appropriate exchanger.
    • Remote Mail Exchanger — The domain will not accept mail, instead sending it to the primary mail exchanger.
      • Note: You will need to configure the primary MX entry to point to the appropriate exchanger.
  • Click Change.

Add a New MX Entry

  • Select a domain from the pull-down menu.
  • Under Add New Record, set the priority for the new MX entry, keeping in mind that 0 is the highest priority. Here are some key points to consider when assigning priority to MX entries:
    • Lower values denote higher priority, with 0 being the highest possible priority.
    • The primary mail server(s) (with the lowest-numbered priority) will receive mail sent to your domain.
    • Backup, or secondary, mail servers (those with higher priority values) can be used for backup or other purposes.
    • If you assign multiple mail servers the same priority, when that level of mail server is needed, mail will be distributed to those servers randomly.
  • In the Domain text box, type the hostname of the new mail exchanger.
    • Important: This must be a fully qualified domain name (FQDN). You cannot specify an IP address here.
  • Click Add Domain to store the changes.

Delete an MX Entry

To delete an MX entry:
  • Click Delete next to the appropriate MX entry, in the Current MX Entries list.
  • Confirm that the entry should be deleted by clicking Delete again.

Edit an MX Entry

To edit an MX entry:
  • Click Edit next to the appropriate MX entry.
  • Change the Priority or Destination as needed.
  • Click Edit to save the changes.
  • Confirm that the entry should be deleted by clicking Edit again.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Email Accounts - Here, you can find information about adding and managing email accounts.

Overview:This set of features allows you to add and manage email accounts associated with your...

Webmail - Webmail allows you to access you email through a web browser.

For cPanel version 11.38(Home >> Mail >> Webmail)Webmail allows you to access your...

Troubleshooting Webmail - This document provides some information about resolving common issues with webmail.

OverviewThis document attempts to answer some basic questions about email and webmail on a cPanel...

SpamAssassin™ — SpamAssassin allows you to block unwanted email. You can learn more about how to use and configure SpamAssassin here.

OverviewSpamAssassin is an email utility that attempts to filter spam by examining incoming email...

Forwarders — Forwarders allow you to forward incoming email from one address to another.

For cPanel version 11.38 (Home >> Mail >> Forwarders)OverviewThis feature allows a...