Authentication 5 min read

Email authentication that actually helps inbox placement.

A practical model of envelope-from, visible From, SPF, DKIM, DMARC, and alignment—using the delivered message rather than a green DNS badge as proof.

The identity model in one minute

An email carries more than one domain identity. The visible From address is what the recipient sees. The envelope-from or return-path domain is used for delivery status and SPF. A DKIM signature contains a signing domain in its `d=` value. DMARC asks whether a passing SPF or DKIM identity aligns with the visible From domain, then applies the domain owner's published policy.

This is why a message can say SPF passed and still fail DMARC. SPF may have passed for an ESP-owned bounce domain that has no organizational relationship to the visible From domain. It is also why a DNS checker is only half the job: the delivered message reveals which identities were actually used.

Authentication is about accountable identity. Placement is the mailbox provider's decision after that identity is considered with many other signals.

SPF authorizes a delivery path

Sender Policy Framework lets a domain publish which systems may send mail for it. The receiving server evaluates SPF against the envelope-from domain, not automatically against the address a person sees in the From header. A result can pass because your ESP is authorized for its own return path even when your brand domain is absent from the SPF decision.

Publish one SPF record per domain and include every legitimate sending service for that domain. Avoid blindly stacking includes: SPF evaluation has a DNS lookup limit, and old services should be removed. For DMARC, relaxed SPF alignment passes when the organizational domain of the authenticated return path matches the organizational domain of the visible From address; strict mode requires an exact domain match.

DKIM signs the message

DomainKeys Identified Mail adds a cryptographic signature to selected message headers and the body. The receiver retrieves a public key from DNS using the selector and the signing domain. A valid signature shows that the signed content was not changed in a way that breaks verification and that the signing domain took responsibility for the message.

The selector chooses a key; it is not the identity DMARC aligns. Alignment uses the `d=` signing domain. Multiple DKIM signatures can appear when an ESP and another service both sign the message. DMARC needs at least one valid aligned signature, not every signature to align. Forwarding often breaks SPF because the forwarding server is not authorized for the original return path, while a DKIM signature may survive if the message is not modified.

DMARC connects authentication to the From address

DMARC passes when SPF passes and aligns, or DKIM passes and aligns. The domain owner publishes a policy—commonly `none`, `quarantine`, or `reject`—and can request aggregate reports. The policy primarily tells receivers how the domain asks unauthenticated mail to be treated. Providers still apply their own security and spam systems.

Begin with reporting and a clear inventory of legitimate senders. Move toward enforcement only after important mail streams pass alignment. A rushed reject policy can block password resets, invoices, support platforms, or regional systems nobody remembered to inventory. Aggregate reports are valuable for finding those sources, but they do not contain the full message or tell you the folder where a legitimate campaign landed.

A safe rollout sequence

List every system that sends with your domain in the visible From address. For each one, send a test through the real route and inspect Authentication-Results, return path, DKIM signatures, and the From header. Configure custom DKIM or a branded return path where the provider supports it. Confirm at least one aligned authentication path before tightening DMARC policy.

Use a reporting mailbox or DMARC analysis service that somebody owns. Review unknown sources and separate legitimate forwarding or indirect flows from abuse. Increase enforcement gradually when the data supports it. Keep subdomain behavior explicit, especially when marketing, transactional, and corporate mail use different platforms.

Why authenticated email still goes to spam

Authentication does not establish consent, message quality, or a good sending history. A perfectly aligned campaign can still generate complaints, hit recycled addresses, use compromised links, or arrive after an extreme volume spike. Gmail explicitly describes authentication as one requirement among several, alongside spam rate, DNS, TLS, formatting, and unsubscribe handling for relevant bulk mail.

Treat authentication as the admission ticket to a fair evaluation, not an inbox guarantee. After it passes, use provider reputation data, placement tests, complaint and bounce evidence, and audience behavior to continue the diagnosis. If one provider filters the message and another does not, the authentication result may be identical while their reputation evidence differs.

Verify with the message you will really send

A staging DNS checker cannot prove that production mail is signed by the expected key or routed through the expected bounce domain. Send a production-like message through your CRM or ESP to controlled inboxes. Save the headers and placement result. Check the domains that actually passed, not merely the ones configured in an admin panel.

Then retest after a repair without changing the sender, platform, links, and template at the same time. If authentication changes from failed to aligned but placement remains poor, that is useful evidence: identity was one problem, not the whole problem.

Questions readers ask

Do I need SPF, DKIM, and DMARC?

Major providers require or strongly expect authentication, especially for bulk senders. In practice, configure all three, but remember DMARC needs aligned SPF or DKIM on the real message.

Can SPF and DKIM both pass while DMARC fails?

Yes. They can pass for domains that do not align with the visible From domain.

Should I publish p=reject immediately?

Usually not. Inventory legitimate senders, enable reporting, confirm alignment, and increase enforcement deliberately so important mail is not rejected.

Sources and further reading

NEXT STEP

Test the email you are about to send.

Keep the sender, template, and links unchanged. A comparable test gives you a baseline you can actually improve.

Run a free inbox test