SpamExperts - How to configure MX records and mail routing
This article was posted in: Email
MX records are a special kind of DNS record that tells the world where email for your domain would be sent. This guide assumes that you are logged into cPanel and that the domain concerned is already parked, added on or the primary domain.
MX records require a Priority and a Destination.
Priority - is number allows you to determine the order of preference for your MX Destinations. It only becomes relevant when you have more than a single MX record. The lowest Priority record should be the first port of call when another mail server tries to send email into your domain. A better way to think of Priority is cost - the lowest cost option will always be chosen first. It doesn't really matter what numbers you use - it's the numerical order of them that is important - but it's most common to use increments of 5 or 10.
Destination - is a fully qualified domain name. That is to say, it must be resolvable by the public DNS to an IP address. IP addresses are NOT allowed as MX destinations.
Krystal's default MX records
The default MX settings for Krystal are:
- mx1.krystal.co.uk - priority 10
- mx2.krystal.co.uk - priority 20
Step 1 - Accessing the MX records
You can see your domain's MX records, by logging into cPanel, and clicking on the MX Entry icon.
Step 2 - Choose the domain
If you have parked or added on any domains to your cPanel account then you will need to choose the domain from the Domain dropdown control.
Step 3 - Determine Email Routing
Normally, your MX records will be configured to route your incoming mail via our SpamExperts mail filtering system (mx1.krystal.co.uk and mx2.krystal.co.uk). In this case, you should have your Email Routing set to Local Mail Exchanger, as shown.
Do NOT use Automatically Detect Configuration - despite it saying recommended - it will not work for reasons explained at the end of this article.
Local Mail Exchanger - Configure server to always accept mail. Mail will be delivered locally on the server when sent from the server or outside the server.
Backup Mail Exchanger - Configure server as a backup mail exchanger. Mail will be held until a lower cost mail exchanger is available.
Remote Mail Exchanger - Configure server to not accept mail locally and send mail to the lowest MX record.
If you want to route your email to an external mail host instead of delivering incoming mail into your cPanel's mailboxes (for example, a corporate MS Exchange server, Live365, Google Apps, etc), then you should set your domain as a Remote Mail Exchanger, as shown. In this case, our server will attempt to delivery any mail for the domain to the external host.
If you don't do this, then any mail that is generated on our server for your domain (for example, mail sent from your website) will be dealt with locally, and will not be delivered to the external host.
Editing or adding MX records
To add a new MX entry, just click the Add New Record button in the Add New Record section.
To edit MX entries, look at the bottom of the MX Entry Maintenance screen to find the MX Records table. This shows the currently active entries for your domain. To Edit or Delete a record just click the links as shown. The image below shows what the default settings for a new Krystal cpanel account should look like.
Ensure the internal StriKe routing is correct
Setting your mx records to mx1.krystal.co.uk and mx2.krystal.co.uk will direct incoming mail to our spam filtering system, but you must also ensure that the filtering system knows which Krystal server to deliver your cleaned email to. You do this by adjusting the Delivery Route in Strike.