How to configure MX records for Google mail
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.
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 - Configure domain as Remote Mail Exchanger
Because you want to route your email to an external mail provider instead of delivering incoming mail into your cPanel's mailboxes, you must set your domain as a Remote Mail Exchanger, as shown. 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 to your domain) will never see the light of day!
Step 4 - Delete any existing MX records
Look at the bottom of the MX Entry Maintenance screen to find the MX Records table. Delete all existing records by clicking the Delete link and confirming the deletion in each case.
Step 5 - Add the Google Apps MX entries
Add each MX entry as required by Google Apps then click the Add New Record button - The example below shows the first record being added. Your settings may differ slightly depending on your instructions from Google.
Keep adding the required records until the list of MX Records at the bottom of the screen looks like the image below. Full details of Google's requirements can be found here.
Step 6 - Authorise Google Apps to send email for your domain
Go back to your cPanel main page by clicking the little Home icon at the top left. Then, click on the Authentication icon.
If SPF is not already enabled, enable it by clicking the Enable button.
Once SPF is enabled, scroll down to the Include List (INCLUDE) section and click the Add button.
Enter _spf.google.com into the box provided, and click OK, or Save (depending on your browser it may be either).
You should now see your entry in the Include List (INCLUDE) section. Then, making sure the options at the bottom match the example shown below, click the Update button to save your changes. The system should report your new SPF record, which should include the text +include:_spf.google.com. That's it, all done!