Email not working correctly after DNS update

Tom asked:

I have my domains at where they are pointing to cloudflare DNS name servers.

After changing webhost I have changed my server IP address at CloudFlare.

My setup is this:

A localhost points to Automatic       
A   points to   Automatic       
CNAME direct    is an alias of  Automatic       
CNAME ftp   is an alias of  Automatic       
CNAME mail  is an alias of  Automatic       
CNAME www   is an alias of  Automatic       
MX  mail handled by Automatic   

However – after 48 hours – I am receiving email on both my new and on my old webhost email (i.e. I have setup two email accounts in thunderbird – both [email protected] – that each check a pop3 at either the old or new webhost)

My answer:

You can’t run email through CloudFlare; it only proxies web traffic.

So your MX record must point to a hostname with an actual IP address not in CloudFlare, that is, a gray cloud showing in the DNS, and an actual address record rather than a CNAME.

For example:

CloudFlare DNS panel

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.