Compare the identities a message actually uses
SPF and DKIM Alignment for Your DMARC Record
Authentication can pass for a domain that does not align with the visible From address. Find the actual identifiers before changing a DMARC setting.
Draft the settings in the DMARC Record Generator. If policy impact is your next decision, continue with the quarantine versus reject guide.
Build a sending-stream ledger before choosing alignment
An alignment review begins with messages and their sending arrangements, not with a preference for the strictest looking option. List the streams that legitimately use the visible From domain, including operational mail that is easy to overlook. Record a stream owner, an authorized sample, the sending system, and the route the sample followed. Keep that ledger outside the generator because it is not a mailbox connector or message archive. A domain written into the form supplies a draft policy owner; it does not reveal who sends on its behalf. The first useful result is a bounded list of streams to investigate, not a claim that every sender has been discovered.
Consider fictional Prism Kiln Studio, where Lena Shaw manages customer notices and Omar Reed maintains the sending arrangements. Their ledger has three streams: workshop confirmations, order updates, and exhibition invitations. Each uses a visible From address at kiln.example.org, but the streams need not share an envelope sender or DKIM signing domain. Lena assigns a separate worksheet row to each stream and marks the sample route as direct or forwarded. The examples in this guide stipulate their authentication results for comparison. They are invented evidence, not actual messages delivered by a provider or results measured through the generator.
Omar adds columns for Header From domain, DKIM signing domain, DKIM result, SPF identity, SPF result, and alignment conclusion. That arrangement makes an unexplained pass difficult to hide. A provider dashboard saying authenticated is not enough unless the team can connect the successful mechanism to the domain used in Header From. They also record which sample supports each row and what remains unresolved. If an invitation system has not produced a usable sample, Lena leaves that stream pending. A tidy worksheet with an explicit gap is more useful than marking the whole domain ready because two familiar streams appear to work.
Read Header From, DKIM d, and the envelope identity separately
The comparison starts with the domain in the message’s actual Header From address. For a sample containing From: Prism Kiln Studio <tickets@kiln.example.org>, the relevant domain is kiln.example.org. The display name does not establish alignment, and Reply-To is not a substitute for Header From. Lena copies the address domain into the ledger without inferring identity from a logo or friendly sender label. If the message has unusual or malformed author fields, she routes it for technical review rather than forcing it into this simple example. The generator does not parse message headers to decide which author domain applies.
For DKIM, Omar records the domain in the signature’s d= value together with the receiver’s signature result. A selector identifies a key lookup within the signing arrangement; its spelling does not make the signing domain align. A message may contain several signatures, so one familiar domain should not erase the evidence about the others. The relevant question is whether a passing signature supplies an aligned signing domain. Merely finding d=kiln.example.org in a header does not establish a valid signature. This ledger keeps authentication and identity comparison in separate columns precisely so an unverified signature cannot be mistaken for an aligned pass.
For ordinary messages with a nonempty envelope sender, the SPF identity is the MAIL FROM domain, commonly reflected in Return-Path on the received message. In a studio sample, Return-Path: <bounces@bounce.example.org> points Omar toward bounce.example.org, not the visible tickets address. He checks the trusted receiving system’s authentication evidence rather than accepting any pasted Authentication-Results field as authoritative. Empty envelope senders and unusual processing paths need their own analysis outside this worked set. The Email Header Analyzer can help organize supplied header evidence, but neither a readable header nor this DMARC builder performs a fresh SPF or DKIM verification.
Require one authenticated and aligned mechanism, not two
Lena’s first synthetic row is a direct workshop confirmation. Header From is kiln.example.org, DKIM passes with d=kiln.example.org, and SPF fails for the recorded envelope identity. The exact DKIM domain match supplies an aligned pass, so that stipulated combination passes DMARC authentication despite the SPF failure. Lena writes DKIM aligned pass in the conclusion column instead of SPF must also pass. That conclusion does not promise inbox placement or explain why SPF failed. It answers the narrower alignment question and leaves the failed mechanism visible for its owner to investigate separately.
The second row reverses the successful path. An order update has Header From kiln.example.org, a passing SPF result for MAIL FROM kiln.example.org, and a failing DKIM signature. SPF provides the aligned pass in this example, so DMARC can pass without a successful DKIM result. Omar still records the signature problem rather than removing the DKIM column. Having one working path does not mean the other arrangement needs no attention, especially when a later route might change which path survives. The purpose of the table is to explain the observed combination without turning one mechanism into an unconditional requirement for every sample.
Their third row exposes the important counterexample. An invitation uses Header From kiln.example.org, DKIM passes for d=dispatch.example.net, and SPF passes for bounce.example.net. Assume those authenticated domains are outside the author domain’s Organizational Domain. Neither pass aligns, so two successful authentication checks do not supply a DMARC pass. Lena assigns the invitation stream to Omar for configuration review rather than weakening the worksheet’s definition of alignment. The lesson comes from the paired columns: a pass belongs to a particular identifier. Counting green results without comparing those identifiers would have produced the wrong conclusion for this stream.
Use relaxed alignment as a specific relationship, not any domain
Relaxed alignment allows the relevant domains to align through their Organizational Domain rather than requiring an exact match. It does not accept any authenticated domain. For the next fictional comparison, Omar’s separate DNS review has established example.org as the shared Organizational Domain for the studio names in the worksheet. That relationship is an assumption supplied to the exercise, not a discovery made by the generator from their similar spelling. A real review must establish the appropriate discovery context. The builder does not perform a DNS tree walk, resolve public suffix questions, or determine the Organizational Domain for arbitrary input.
With that stated context, compare Header From kiln.example.org with a passing DKIM signature using d=mail.example.org. Relaxed DKIM alignment can accept their shared Organizational Domain, while strict DKIM alignment does not accept the different full domains. A passing SPF identity at bounce.example.org follows the same relaxed versus strict distinction for this example. The two controls govern different mechanisms, however. Changing DKIM alignment does not change SPF alignment, and neither option rewrites the identifiers on a message. Lena therefore records the selected mode beside each comparison instead of assigning an alignment result without stating which rule produced it.
In the builder, Relaxed (default, omit) leaves the corresponding alignment tag out of the TXT value. Relaxed (explicit r) includes adkim=r or aspf=r for the selected mechanism. Those are different textual drafts expressing the same relaxed mode, not different levels of authentication coverage. Strict (s) requests the exact domain match through adkim=s or aspf=s. Lena first creates a baseline with both defaults omitted so later comparisons isolate a deliberate change. She does not interpret the absence of an alignment tag as disabled authentication, a broken record, or permission to replace the domain comparison with an unrelated authenticated sender.
Keep each mechanism explicit
Compare alignment drafts
Build the relaxed baseline, then change one alignment choice and review the resulting tags against your evidence.
Test strict choices against the studio matrix one at a time
Lena sets Policy domain to kiln.example.org, DNS zone (optional) to example.org, and Requested policy to None. She enters alignment@kiln.example.org in one Aggregate report email field and leaves the others blank. With optional policies, alignment, and Test mode unchanged, the baseline value is v=DMARC1; p=none; rua=mailto:alignment@kiln.example.org. This is a policy draft for the exercise, not a test message or verified receiving address. The full hostname is _dmarc.kiln.example.org. The zone selection also gives a relative host of _dmarc.kiln, which belongs in a different handoff field from the TXT value. Lena keeps the zone unchanged across comparisons so a hostname difference cannot be mistaken for an alignment effect. She also leaves the report destination unchanged. Each experimental draft then has one stated purpose, with unrelated form choices held steady for a readable comparison.
She changes only DKIM alignment to Strict (s), rebuilds, and compares the matrix again. The exact signing domain in the workshop row remains aligned. The stipulated mail.example.org signing domain in the relaxed comparison does not. Next she returns DKIM alignment to its default, changes only SPF alignment to Strict (s), and repeats the comparison. The exact MAIL FROM match in the order row remains aligned, while bounce.example.org is no longer aligned under strict SPF. These are reasoned expectations from the stated sample identities. The generator is not evaluating the messages or discovering those outcomes by running network checks.
Finally Lena drafts both strict choices together. The value becomes v=DMARC1; p=none; adkim=s; aspf=s; rua=mailto:alignment@kiln.example.org. Omar adds a fourth synthetic message with passing DKIM at d=kiln.example.org and passing SPF at bounce.example.org. Under the stated strict choices, DKIM aligns and SPF does not; the one aligned DKIM pass is sufficient. This case prevents the team from reading both strict tags as a requirement for two aligned mechanisms. They keep the strict draft for review only, because a useful comparison is not approval to change every production stream or to strengthen the requested policy at the same time.
Give configuration work to the owner of each sending system
The invitation row needs a sender configuration decision, not a more elaborate DMARC string. Omar asks its owner whether the system can use an appropriate signing domain or envelope sender under the studio’s control and what separate setup steps that requires. He records the answer and requests a fresh authorized sample after any change. This guide does not supply a universal provider recipe because the relevant controls, delegation, and permitted identities depend on the actual sending arrangement. Lena keeps the old invitation evidence as a comparison and marks the replacement evidence pending until the responsible team has completed and reviewed the work.
Changing the DKIM alignment control does not enable DKIM signing, publish a public key, choose a selector, or rotate a private key. Changing SPF alignment does not publish SPF, authorize an IP address, add an include mechanism, or configure a return path. The generator does none of those tasks automatically. Do not paste selector values, SPF mechanisms, or private key material into Policy domain or the report fields in an attempt to complete that setup. The form is for public DNS policy draft material. Actual signing configuration and SPF authorization remain with their respective administrators, using the procedures appropriate to the sending system.
For each repaired stream, Omar returns with evidence that addresses the original mismatch. If the new invitation signs with the intended domain but the signature still fails, alignment alone has not completed the repair. If it authenticates successfully for the old unrelated domain, authentication alone has not completed the repair either. Lena checks both columns before changing the stream’s status. She also keeps the original Header From purpose in view: substituting another visible author domain is a business and identity decision, not a harmless way to make a comparison turn green. Every accepted change needs an accountable owner beyond the local generator session.
Recheck different message paths without assuming a universal result
A direct sample and a forwarded sample can expose different authentication outcomes, so Lena does not combine them into one unexplained row. In a stipulated forwarded workshop example, the recorded SPF result fails while the original exact-domain DKIM signature still passes. That aligned DKIM result is enough for the same narrow DMARC pass conclusion used earlier. The example does not promise that forwarding always preserves a signature or always breaks SPF. Omar records the actual path and trusted receiver evidence for any real sample. A different path is a reason to gather more evidence, not to copy the direct row’s conclusion by assumption.
Their second path exercise is an exhibition invitation that has been modified during redistribution. The fictional receiving evidence now reports a failed DKIM signature and a passing SPF identity belonging to the redistributor’s unrelated domain. Under those stipulated facts, neither mechanism supplies an aligned pass for kiln.example.org. Lena assigns a distinct issue to the redistribution workflow instead of declaring the studio’s whole domain unauthenticated. That distinction helps the stream owner investigate the right arrangement. It also prevents a successful original send from being presented as proof that every subsequent route will preserve the same authentication and alignment combination.
For coverage, the studio includes a routine confirmation, a revised order, and an invitation generated by the less frequently used exhibition workflow. The particular event names are just inventory labels; they do not create a minimum sample count that certifies readiness. Lena looks for distinct sending systems, identities, and paths rather than collecting many copies of one familiar message. She keeps unresolved routes open and reviews aggregate feedback separately when available. The report address guide covers preparing that intake, but an address in rua cannot substitute for the missing sample or establish how a particular message was authenticated.
Approve the evidence and the DNS draft as separate artifacts
Lena’s review note names the requested DKIM and SPF modes and links them to the stream ledger kept in the studio’s own records. Omar signs off only the streams for which he has appropriate evidence. Neither treats Strict (s) as automatically better security for every arrangement, nor assumes every general purpose mail domain must eventually use reject. Requested policy is a separate impact decision. For this exercise they leave it at None while unresolved invitation work continues. Receiver filtering can still occur independently, and optional enforcing subdomain choices would require their own discovery and impact review rather than borrowing approval from the alignment worksheet.
After the final selection, Lena uses Build DMARC record and reviews the generated tags before using Copy TXT value, Copy full hostname, or Download setup TXT. A builder edit invalidates the preview and exports until another build. The download is a human readable publication handoff, not a zone file that configures signing systems or an import that updates SPF. The team keeps message evidence outside it and avoids including private message contents in the public policy fields. There is no automatic DNS publication, provider integration, saved project, or alignment certification behind a successful build or clipboard action.
The completed exercise has four clear conclusions: exact-domain DKIM can carry a pass when SPF fails, exact-domain SPF can carry a pass when DKIM fails, two unrelated authenticated domains do not align, and one aligned mechanism remains sufficient when both alignment modes are strict. The relaxed comparison adds a separately established Organizational Domain assumption instead of a suffix guess. Those conclusions give Lena a repeatable review method without pretending the builder has inspected any real mail. When identities or routes change, she updates the evidence first, revisits the chosen modes, and rebuilds the DNS draft only after the responsible people have reviewed the new facts.
Questions about SPF and DKIM Alignment
Must both SPF and DKIM pass and align for DMARC?
No. At least one mechanism must supply an authenticated, aligned pass. A passing SPF or DKIM result for an unrelated domain is not sufficient merely because authentication succeeded.
Does relaxed alignment accept any authenticated sender?
No. Relaxed alignment compares the relevant Organizational Domain relationship; strict alignment requires the full domains to match. The generator does not discover Organizational Domains or evaluate message authentication.
Will selecting strict configure SPF or DKIM for me?
No. The controls generate adkim and aspf policy choices only. They do not enable signing, create selectors or keys, publish SPF authorization, or configure an envelope sender. Review actual stream evidence with the sending-system owner.
Continue with another DMARC setup guide
Return to the DMARC Record Generator, choose another guide below, or browse all free tools.
Finish the evidence review first
Prepare the selected DMARC draft
Rebuild the reviewed choices and download a setup plan for the administrator responsible for publication.