InMotion Hosting Support Center

Settings for email using cloudflare

2015-06-15 5:30 pm EST

Hits: 18,736
I had to use cloudflare to protect my sites that are hosted on inmotionhosting, and since then we have been plagued by email problems. Failures to connect, lost emails, etc. I assume it is because I have something incorrectly configured at one end or the other, but can't seem to find anything that addresses this. One of my sites created 3 entries on the automatic setup at cloudflare, another has at least 8 so I'm not sure which are necessary, which might be interfering with email, or what the email entries should read. Any assistance would be appreciated.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Also wondering whether there should be an SPF string in a TXT entry. Don't understand that at all, I'm afraid.
11 Points
2015-06-15 08:36 pm EST



43,761 Points
2015-06-15 6:02 pm EST
Hello tjburns,

Sorry to hear you are having issues with your mail records. To connect to our servers for email you will need to have the MX record point to a specific record. Sometimes the MX record will point to the domain name, but that would lead it to CloudFlare. You want the MX record to point to (replace with your domain name). Below is a link from Cloudflare on how to do that:

Cloudflare email

You will also need to create a record separately as an A record on cloudlfare's side. This is so we can point that record to our servers. The A record should point to your cPanel IP address.

This way, when an email comes to cloudflare, it will see that the it needs to be forwarded over to your server with us for handling.

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

For someone new at this the link at cloudflare is confusing, it has a cname entry in the text, none in the graphic.

I asked them and they said it depends on the provider.

So right now I have
A points to xx.xx.xx.xx Automatic
A mail points to xx.xx.xx.xx Automatic
MX mail handled by Automatic
A www points to xx.xx.xx.xx Automatic
CNAME ftp is an alias of

Is this correct? The cname entry was created by the cloudflare automated setup, there was previously a cname entry for mail as well but I replaced that with what's above. Apparently I can't format this to give me separate lines for this stuff so hopefully this is understandable.
11 Points
2015-06-15 8:28 pm EST
Hello tjburns,

The A mail should point to your cPanel IP address. The setup should then work for you. SPF records can be confusing and they are a good idea though not necessary. You can use an SPF creator to build your TXT file as they an be confusing. The only thing you need to enter is the domain and any IPs you want to be allowed.

Kindest Regards,
Scott M
43,761 Points
2015-06-15 8:49 pm EST
Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!