For cPanel & WHM version 58
(Home >> DNS Functions >> Edit MX Entry)
Overview
A mail exchanger (MX) entry determines which server receives mail for a domain name. The Edit MX Entry interface allows you to configure the entry for each destination mail server.
How to edit MX entries
To edit your server's MX entries, perform the following steps:
- From the Choose a Domain to Edit menu, select the name of the domain for which you wish to configure MX entries.
- Click Edit. A new interface will appear.
- Select the Email Routing setting that you wish to use. For more information, see the Email Routing table below.
- Enter the desired settings for each MX entry in the MX Entries section.
- Click Save.
Email Routing You can select any of the following Email Routing settings for your mail exchangers: Select this setting to allow the system to choose the most appropriate Email Routing setting, based on a query of the MX record. The system queries the MX record and uses the following criteria to determine the Email Routing setting: Note: The system cannot perform automatic detection for this setting if the MX entry does not resolve (for example, if you mistype a domain name or enter one that does not exist). If the MX entry does not resolve and the Email Routing setting is Automatically Detect Configuration, the system generates a warning and defaults to the last known Email Routing setting. Select this setting to cause the server to never accept mail for the domain. Note: The system always assigns the lowest priority value to Remote Mail Exchanger mail servers. Note: For the Automatically Detect Configuration setting to treat additional IP addresses as local, you must add them to the list of local IP addresses. Add IP addresses to the list in WHM's Configure Remote Service IPs interface (Home >> IP Functions >> Configure Remote Service IPs).Setting Description Automatically Detect Configuration Local Mail Exchanger Select this setting to cause the server to always accept mail for the domain. Backup Mail Exchanger Select this setting to cause the server to accept mail for the domain and store it until a higher priority (lower number) mail server becomes available. Remote Mail Exchanger
MX Entries
You can configure the following values for each MX entry:
Setting | Description |
---|---|
TTL | This integer value specifies the time to live (TTL). TTL indicates how long a particular record remains in memory, in seconds, before it refreshes. This value defaults to 14400 . |
Priority | This integer value represents the priority order of the mail server, in relation to other MX entries. The lower the Priority value, the higher the server's priority. This value defaults to a value that is 10 higher than the highest existing MX entry's priority.
|
MX Destination | Enter the name of the mail server (for example, mail.example.com ). |
Add and delete MX entry text boxes
- To add a new MX entry text box, click Add Another MX Entry Field . A new row will appear.
- To delete a row, click Delete next to that MX entry.
Note:
The bottom MX entry text box is always a new MX entry, and displays the label (new) in the furthest right column.