Skip to content

Cloudflare proxy on MX or mail subdomain, mail does not work

Cloudflare only proxies HTTP/HTTPS traffic. MX records, A records for mail hosts (smtp, imap, pop, mail) and SRV records must stay DNS-only (grey cloud). An orange cloud on a mail record breaks delivery instantly.

Try this first

  1. 1Open the DNS table in Cloudflare and explicitly set to grey (DNS-only): mx targets, mail., smtp., imap., pop., autodiscover., autoconfig.
  2. 2MX records contain a hostname, not an IP. The A record it points to is what you grey.
  3. 3For SPF, DKIM, DMARC, Null-MX, BIMI: those are TXT records, cloud status does not apply.
  4. 4Test after the change with telnet or swaks to ports 25 and 587 that the mail server is reachable again.
  5. 5If you have no own mail server and use M365/Google Workspace, you do not need to touch mail A records at all, only MX and TXT.

When to bring us in

If mail delivery remains stuck after the cloud fix, we can walk through PTR, SPF, DKIM and DMARC together to untangle the stack.

See also

None of the above fits?

Describe your situation below. We pass your input plus the steps you already saw to our AI and return tailored next-step advice. If it's too risky to DIY, we'll say so.

Who are you?

For the AI question we need your email and company, so we can follow up if the AI gets stuck, and to prevent abuse.

Limited to 2 questions per hour and 5 per day, kept lean so the AI stays useful. For more, contacting us directly works better for you and us.

Or skip the DIY entirely

Our Managed IT clients do not look these things up. One point of contact, a fixed monthly price, resolved within working hours.