Knowledgebase

Cloudflare and Email Print

  • cloudflarecdn, cloudflare, email, dns, domain, cpanel, spf, dkim, dmarc, deliverability
  • 0

Keeping mail working.

THE RULE

Mail never goes through the proxy. Records relating to mail must be DNS only.

WHAT TO CHECK

MX records present and pointing at the correct hostname The A record for that mail hostname set to DNS only SPF record present and correct DKIM record present DMARC record, if you use one

WHY MAIL BREAKS AFTER A CLOUDFLARE MOVE

Usually one of two things: the MX records did not import, or the mail hostname was proxied.

Both produce mail stopping the moment nameservers change.

CHECKING THE RECORDS

Compare against cPanel > Email Deliverability, which shows the records we expect for your domain.

Copy them exactly into Cloudflare.

CLOUDFLARE EMAIL ROUTING

A separate Cloudflare feature that forwards mail. It replaces your MX records.

Do not enable it unless you intend to stop using hosting mailboxes, because it takes over mail delivery for the domain.

IF MAIL HAS STOPPED

Check MX records first, then the proxy state on the mail hostname. Those two account for nearly every case.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot