1. The sender starts the journey
The sender's mail server sees To: me@maheshbansod.com. It asks DNS which mail servers are responsible for maheshbansod.com, then opens an SMTP connection to one of them.
DATA
Subject: hello ๐
Follow one email from alice@example.com to me@maheshbansod.com.
The sender's mail server sees To: me@maheshbansod.com. It asks DNS which mail servers are responsible for maheshbansod.com, then opens an SMTP connection to one of them.
A/AAAA records are mainly about reaching your website. MX records are specifically for email: they answer: โWhich servers accept mail for this domain?โ
The awkward part: the message arrives from Cloudflare, but claims to be from me@maheshbansod.com. Taken at face value that is textbook spoofing, and it would go straight to spam. Three separate mechanisms keep it out of the bin.
At the last hop, SPF asks one question: is the envelope sender
allowed to send? Cloudflare forwards as its own envelope sender
and its SPF record permits that, so the hop passes. SPF never looks at
the visible From: โ it only ever validates the envelope
of that single hop.
Cloudflare forwards the message without re-encoding the body, so the
sender's original DKIM-Signature still verifies. That is
the whole point of signing a hash of the body: any change to a single
byte breaks it.
DMARC passes if either SPF or DKIM lines up with the
From: domain. Here the DKIM d= is
maheshbansod.com and that is also the visible from domain โ so
alignment holds. SPF's opinion no longer matters; DMARC only needs one
aligned pass.
ARC (RFC 8617) is the bit that makes forwarding viable. Cloudflare stamps
ARC-Authentication-Results (the original sender
passed), signs those claims in ARC-Message-Signature, and
locks the set with ARC-Seal. Gmail evaluates the ARC set of
the last forwarding agent and inherits that verdict instead of judging
Cloudflare on its own.
maheshbansod.com. The aligned signal has to come from DKIM โ
which is also why a forwarding setup is much safer than one that rewrites
the body.
Open the message โ More (โฎ) โ Show details. You should see mailed-by Cloudflare, signed-by your mail domain, and a line like SPF, DKIM, DMARC: pass with the signed domain matching the from address. That combination is the whole mechanism above, visible in one panel.
"Would I rather be feared or loved? Easy. Both. I want people to be afraid of how much they love me."
โ Michael Scott