The receipt went out. The customer says it never arrived. Someone suggests “fixing DMARC,” which sounds authoritative until the next question: which system actually sent the receipt, and which domain did it use?
SPF, DKIM and DMARC are related email-authentication mechanisms. SPF helps a receiving server evaluate whether a sending host is authorized for a domain used in the mail transaction. DKIM lets a receiver verify a domain's cryptographic signature over selected parts of a message. DMARC connects an authenticated domain to the domain in the visible From address and publishes a domain owner's requested handling policy for failures.
They are important pieces of a reliable email setup, not a button that guarantees inbox placement or proves every message is safe. A business may have a mailbox provider, an invoicing platform, a website and a marketing service all sending mail. The work is to identify those streams and make sure legitimate messages authenticate and align before changing enforcement.
Three names, three different questions
SPF asks whether the sending host is authorized by a relevant domain's published policy. In a common case the checked domain is associated with the SMTP envelope sender, sometimes called the return-path or MAIL FROM domain. That can differ from the address a person sees in the message's From field.
DKIM uses a signature added by a sending system. A receiver retrieves the associated public key from DNS and checks the signature against the signed portions of the message. The signature identifies a signing domain; it does not mean that every possible header or every fact in the email was independently verified.
DMARC checks whether at least one suitable SPF or DKIM result both passes and aligns with the message's author domain in the From header. The current IETF standard, RFC 9989, explains the authentication and alignment checks and the published policy. One aligned passing mechanism can produce a DMARC pass for a message; full participation requirements in the standard are broader than that single-message pass test.
The distinction is easy to miss. A vendor can send an email that passes SPF for the vendor's own domain while the message appears to come from the business's domain. If neither that SPF domain nor a passing DKIM signing domain aligns with the From domain under the applicable rules, that SPF pass alone does not produce a DMARC pass.
A fictional receipt that fails alignment
Imagine a business uses example.com as the domain in the visible From address of its receipts. Its payment platform sends a receipt using an envelope sender at bounce.vendor.example.net and signs it with DKIM using vendor.example.net. Assume both SPF and DKIM checks pass for those vendor-controlled domains.
Those passes say something useful about the vendor's sending infrastructure, but under the supplied example neither authenticated domain shares the organizational domain of example.com. Assume relaxed alignment is being used and no other aligned passing authentication exists. The receipt therefore does not pass DMARC for the author domain, despite the two underlying authentication passes.
Now change one supplied fact. The vendor is configured and authorized to sign the message successfully with a DKIM signing domain of receipts.example.com. Under the assumed relaxed alignment, that signing domain and the From domain share the organizational domain example.com. A valid DKIM signature from it can provide the aligned pass needed for DMARC, even if the separate vendor-envelope SPF result is not aligned.
This is an invented example, not a configuration for a real account. It assumes valid signatures, the stated organizational-domain relationship and the receiver's applicable evaluation. Under strict DKIM alignment, receipts.example.com would not be identical to example.com; the result would need a different aligned authenticated identifier. Do not change a production domain based on these sample names.
For a message with no aligned pass, a published policy may request a particular treatment. The receiving system still applies its own handling decisions. An authentication result, a requested policy and the actual delivery outcome are separate observations.
SPF is about the sending path
A domain can publish an SPF policy in DNS describing authorized sending hosts or other mechanisms evaluated under SPF. A receiving server checks that policy for the domain used in the relevant part of the mail transaction. A business should first inventory its actual senders: company mailboxes, billing systems, website forms, support platforms and any other authorized service.
Forwarding can complicate the picture. When a message is forwarded, the next receiving server may see a different sending host from the one originally authorized. A passing DKIM signature that remains valid and aligned can sometimes preserve a DMARC pass, but forwarding and mailing-list changes are not guaranteed to preserve every signature. Test the real mail path rather than assuming a result from the original sender's settings.
Do not add a separate SPF record for every vendor without checking the existing record and the provider's instructions. Multiple records that select as SPF policies for the same domain can produce an error. SPF also has limits on DNS-query-producing mechanisms during evaluation; an elaborate chain of vendor includes can cause a lookup-limit failure. The SPF standard defines these rules. A record that fits on a screen is not necessarily a record that evaluates successfully.
Before modifying a policy, identify which hostnames and services it already authorizes, why they are present and who owns each configuration. Removing an old-looking entry without confirming its use can disrupt legitimate invoices or account notices. Adding a service without verifying it can authorize an unintended sender. Use the current provider documentation and an owner-approved change process.
DKIM is a signature, not a seal of approval
A DKIM signature identifies a signing domain and a selector used to locate its public key. The receiving server checks whether the signature validates for the signed message content and selected headers. The corresponding private signing key belongs with the authorized sending system; it should not be pasted into a public DNS record or a support ticket.
A signature may stop validating if a later system changes content or signed headers in a way that affects the signature. A message can also carry more than one signature, with different domains and results. The relevant DMARC question is whether at least one passing signature's domain aligns with the author domain under the policy's alignment mode.
Key management is operational work. Know which service signs which stream, who controls the selector, how keys are rotated and how a provider change affects old and new messages. If a vendor sends a valid signature only for its own unrelated domain, that is not automatically an aligned signature for the business's From domain.
Authentication does not decide whether the message is wanted or trustworthy. A compromised legitimate account can send authenticated spam. A valid DKIM result is evidence about the signature and domain, not a guarantee that an invoice, link or request should be trusted.
DMARC policy is a request to receivers
A domain publishes a DMARC policy record in DNS. Common policy values are none, quarantine and reject. In broad terms, none is used for monitoring without requesting a change to mail handling on DMARC failures; quarantine requests suspicious handling; reject requests rejection. Receiver behavior, other security checks and the particular circumstances still matter.
The current standard explicitly allows receivers to apply local policy and consider additional information. A reject policy is not proof that every failing message was rejected, and a DMARC pass is not a promise of inbox delivery. Spam filtering, reputation, recipient preferences, message content and other requirements remain separate.
Moving directly from no understanding of the mail inventory to a strict policy can interrupt legitimate streams that are not yet aligned. A cautious rollout begins by identifying the actual author domains and senders, establishing the required authentication, observing results and resolving legitimate failures. Any change to a real domain should use the responsible administrator's review, provider instructions, a rollback plan and monitoring.
“Strict” can also mean two different things in conversation: a strict alignment mode requires the relevant domains to match exactly, while a reject policy requests a particular handling outcome for failures. They are not interchangeable switches. Record which setting is being discussed.
Reports help find streams, not every missing email
DMARC aggregate reports can summarize authentication results and observed sources for a domain when reporting is requested and receivers send reports. RFC 9989 points to RFC 9990 for the aggregate reporting format and related requirements. Reports can help a domain owner find legitimate services that are misconfigured and sources that appear to be using the domain without authorization.
They are not a complete census of every message sent or every receiving system's decision. A report can arrive later than the mail it describes, use aggregate data and reflect only participating receivers. A failing source is a lead to investigate, not immediate proof that the source is malicious or that a specific customer missed a specific receipt.
Protect report access. Authentication reports and message headers can reveal operational details about sending systems. A business does not need to publish private addresses or raw messages to make a troubleshooting summary useful. Share only what an authorized administrator needs and follow the organization's privacy requirements.
A practical investigation without changing live mail
First, describe the exact stream: for example, an order receipt from a particular platform to a recipient who expected it. Record the author domain, provider and approximate time. Avoid sending repeated real customer messages just to manufacture evidence. If a test is appropriate, use an authorized test address and a clearly identified test message under the organization's established process.
Second, inspect a received test message's authentication results at a trusted receiver. Note the SPF result and domain, each DKIM result and signing domain, the From domain, and the DMARC result. A header can contain statements added by different systems; know which receiving system produced the result before treating a header as authoritative.
Third, compare the result with the sender inventory and the domain's published policies. If the vendor authenticates only its own domain, ask the vendor how it supports an authorized aligned sending domain. If DKIM fails after a mailing-list modification or SPF fails after forwarding, investigate that path rather than blindly authorizing the forwarder's entire infrastructure.
Finally, separate authentication from delivery. A message can pass authentication and still be filtered, rejected for another reason, sent to an unexpected address or never submitted by the application. Check the sending application's actual status and the receiving mailbox where authorized. A green DNS test alone does not establish that the customer received or read a message.
Different recipients have different requirements
Recipient services can impose requirements beyond the DMARC pass test. For example, Google's Gmail sender guidance distinguishes requirements for all senders from additional requirements for senders above its stated bulk threshold. It addresses authentication, transport, spam rates and other practices. Those are Google's requirements for mail to personal Gmail accounts, not a universal promise about every recipient or every future policy.
For direct mail in the bulk-sender guidance, Google describes alignment between the From domain and either the SPF or DKIM domain. It also describes unsubscribe requirements for applicable marketing and subscribed messages. Authentication does not confer consent to send marketing, and a compliant technical record does not authorize an unwanted campaign.
Policies and vendor products change, so check current recipient and provider documentation before a real change. An authenticated message, an accepted message, an inbox placement and a human read are four distinct events or stages.
Keep a small, accurate sender map
For each legitimate stream, record the business purpose, responsible owner, vendor or sending application, From domain, envelope domain, DKIM signing domain and selector, and where the configuration is managed. Add the latest verified test result and date. Include low-volume streams such as password resets and billing notices; the messages sent least often can be the ones nobody remembers when a policy changes.
Document the current records and recovery process before any proposed change. Coordinate with the people responsible for each system, verify a small set of authorized messages and monitor after deployment. If a legitimate stream fails, fix the specific sender or policy issue with its owner; do not interpret an absence of complaints as proof that every message arrived.
In the fictional receipt, SPF and DKIM passed for the vendor but neither aligned with the business's From domain. An authorized aligned DKIM signature changed the DMARC result under the stated conditions. That distinction—what passed, for which domain, and on which real sending path—is more useful than a generic instruction to “turn on DMARC.”
Explore Infinite Upside
For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.
Explore the operation behind a promise
A promise needs an operation