BuycPanel Blog

BuycPanel Blog

Latest news and updates

How to Edit MX Entries

Posted by Allura on 15 08 2019.

Introduction
The Edit MX Entry option on cPanel can be used to select the entry for every individual destination mail server. A mail exchanger (MX) entry specifies the server which accepts mail for a given domain name.(WHM > Home > DNS Functions > Edit MX Entry)
Steps to edit MX entries
If you want to edit your server’s MX entries, follow the steps given below:Select the domain you want to configure the MX entries of from the Choose a Domain to Edit interface.
Next select Edit. From the new interface that pops up, select the specific Email Routing setting you want to use. Refer to the Email Routing section below for further information on this.
You can now change the settings for each MX entry given in the MX Entries section. After doing so, click on Save. 
Email Routing
Following are the four settings you can choose from:Automatically Detect Configuration – For…

Introduction

The Edit MX Entry option on cPanel can be used to select the entry for every individual destination mail server. A mail exchanger (MX) entry specifies the server which accepts mail for a given domain name.

(WHM > Home > DNS Functions > Edit MX Entry)

Steps to edit MX entries

If you want to edit your server’s MX entries, follow the steps given below:

  1. Select the domain you want to configure the MX entries of from the Choose a Domain to Edit interface.
  2. Next select Edit. From the new interface that pops up, select the specific Email Routing setting you want to use. Refer to the Email Routing section below for further information on this.
  3. You can now change the settings for each MX entry given in the MX Entries section. After doing so, click on Save.

 

Email Routing

Following are the four settings you can choose from:

  • Automatically Detect Configuration – For this setting, the system automatically selects the best Email Routing setting by analyzing the MX record. The following criteria are used:
    • Local Mail Exchanger is assigned by the system if the mail exchanger with the lowest priority corresponds to any IP address on this server.
    • Backup Mail Exchanger setting is used by the system if a higher priority mail exchanger corresponds to IP on this server.
    • If no mail exchangers correspond to any IP address on this server the Remote Mail Exchanger setting is picked.

Note – The MX entry has to resolve for the system to automatically detect for this setting. So you cannot mistype a domain name or enter a non-existent one. In the case that the entry does not resolve, and the selected Email Routing setting is this one, a warning is generated and the system defaults to the last known setting for Email Routing.

  • Local Mail Exchanger – The server always accepts mail for a particular domain if this setting is selected.
  • Backup Mail Exchanger – Selecting this setting makes the server accept mail for the given domain and store it only until a lower-numbered (higher priority) mail server is available later.
  • Remote Mail Exchanger – This setting causes the server never to accept mail for the given domain.

Note – This setting’s mail servers are assigned the lowest priority by the system.

Note – You have to add additional IP addresses to the list of local ones if you want the Automatically Detect Configuration setting to treat them as local.

 

MX Entries

Following lists the various settings for the MX entries and a description for each:

  • TTL – This stands for ‘time to live.’ The integer value, TTL specifies the time duration (in seconds) for which a record stays in memory before refreshing. It defaults to 1 4 4 0 0.
  • Priority – The lower this integer value, the higher is the priority of the mail server compared to other MX entries. Its default value is 10 higher than that of the highest existing MX entry’s.
    • Lowest Priority value servers act as primary mail servers.
    • Higher value servers act as secondary mail servers.
    • Servers having the same priority values get mails allocated to them randomly by the system.
  • MX Destination – This lets you set a name for the mail server (for example, admin.com).

Note – You can also add or remove MX text boxes. Add a new entry text box by selecting Add Another MX Entry Field. This creates a new row. You can delete rows by simply clicking Delete next to the MX entries.  The bottom entry box shows the label (new) in the rightmost column, which means that it’s always a new MX entry.

 

Conclusion

Above are the steps to follow and all the necessary information related to editing MX entries on cPanel.