Myth 1: Turning on the proxy for mail subdomains shields mail traffic from attacks
mail.example.com to "Proxied" (the orange cloud) assuming their mail server is now safely cloaked behind an anycast shield.
What actually happens comes down to the layer at which the proxy operates. Cloudflare's core reverse proxy is a Layer 7 service designed for HTTP and HTTPS protocols (along with WebSockets). When a visitor requests a web page, the connection terminates at Cloudflare's edge node, which evaluates the request and fetches the asset from your origin web server over port 80 or 443.
Email services do not run on HTTP. Protocols like Simple Mail Transfer Protocol (SMTP, running on ports 25, 465, or 587), Internet Message Access Protocol (IMAP, port 993), and Post Office Protocol (POP3, port 995) rely on distinct TCP connections. Cloudflare's standard reverse proxy simply drops non-HTTP traffic directed at proxied hostnames. When an external mail server or an email client attempts to open an SMTP handshake against an orange-clouded mail.example.com, the connection reaches a Cloudflare edge IP that is not listening for raw SMTP on port 25. The connection either times out or gets rejected immediately.
Myth 2: The blacklist alerts explain why your outbound emails land in spam
mail.example.com or the domain apex) to an IP address, and then querying that IP against numerous reputation databases. If that hostname is proxied through Cloudflare, the monitor resolves one of Cloudflare's public web proxy anycast addresses.
Because millions of websites share those edge IP ranges—and because some malicious actors inevitably abuse web infrastructure—certain aggressive RBLs list entire ranges of shared content delivery network (CDN) IPs. Some blacklist providers even deliberately flag web proxy addresses simply because web proxies should never originate SMTP connections.
However, your outbound mail does not leave the internet from Cloudflare's edge servers. Outbound email is sent directly from your actual server hardware or relay provider. Receiving mail servers evaluate the reputation of the connecting IP found in the TCP handshake, not the IP that an external blacklist monitor resolved from your web records. If you are troubleshooting genuine deliverability issues, inspecting the actual headers of a received message gives a much truer picture; reviewing how to read Authentication-Results headers for DMARC alignment helps separate actual authentication failures from ghost blacklist reports.
Myth 3: Pointing an MX record to a proxied A record works as long as SPF is valid
mail.example.com, keep mail.example.com proxied, and assume sending will work normally.
In reality, this breaks standard mail routing. Under RFC specifications governing internet mail, an MX record points to a canonical domain name that must resolve directly to the destination MTA (Mail Transfer Agent) accepting inbound mail. If the target hostname resolves to Cloudflare's proxy IPs, external mail servers attempting to deliver messages to your domain will try to deliver them to Cloudflare's web edge. Because those edge nodes do not operate your mailboxes or route inbound SMTP traffic on your behalf, incoming mail bounces or fails silently.
Cloudflare's dashboard actually warns users about this: when an MX record points to a hostname that has proxying enabled, the system surfaces a warning banner alerting you that mail routing will fail. For incoming mail to arrive, the hostname targeted by your MX record must resolve directly to an IP address that runs a listening mail daemon.
Myth 4: Leaving mail records unproxied defeats the purpose of hiding your server IP
mail.example.com to "DNS only" completely destroys their anonymity and leaves their web server exposed to targeted attacks.
This concern has some truth to it, but treating DNS proxying as an email privacy tool reflects a fundamental misunderstanding of SMTP. Email architecture is inherently transparent regarding routing hops. Every single time your server sends an email, it connects to a remote MTA. That remote server logs the connecting IP, and standard mail handling adds a Received: header to the top of the message payload. That header openly lists your mail server's public IP address for any recipient to inspect.
If your web application and your mail server live on the exact same VPS or shared host, your origin server IP will inevitably be public as long as you send email directly from that machine. Hiding mail.example.com behind a web proxy does not prevent this disclosure; it only breaks incoming mail delivery. If separating your origin web server's IP from public view is an absolute operational requirement, the standard architecture is to route outbound email through an independent third-party relay or a dedicated smarthost, rather than trying to force email protocols through an HTTP CDN.
Auditing your mail DNS records
BASH
# Check the MX record for your domain
dig +short MX example.com
# Check the resolution of your mail hostname
dig +short mail.example.commail.example.com). Second, the IP address returned for that mail hostname should be your actual hosting server IP, not a Cloudflare IP (which commonly fall into subnets like 104.16.0.0/12 or 172.64.0.0/13).
Inside the Cloudflare DNS dashboard, locate the A or CNAME record assigned to mail and click the proxy toggle so that it changes from "Proxied" (orange cloud) to "DNS only" (grey cloud). The MX record itself does not have a proxy toggle because Cloudflare does not proxy MX records directly, but the target name it references must point to that unproxied A record.
Once the mail hostname is set to DNS-only, DNSBL reputation tools will begin querying your true server IP. If alerts persist after that point, the listings reflect your actual host reputation—perhaps caused by an unauthenticated script or a compromised CMS account, which requires finding the source script behind the outbound spam queue—rather than an irrelevant CDN edge node.
Keeping web edge proxies cleanly separated from mail exchange records prevents confusing monitoring alerts and ensures that receiving MTAs can connect to your server without interference.