DMARC passes when at least one DKIM signature passes with an aligned signing domain, or SPF passes with an aligned MAIL FROM domain.
DMARC Policy Builder
Create a current DMARC policy draft with explicit domain, subdomain, non-existent-domain, testing, classification, alignment, and reporting choices.
Understand every setting before building
DMARC tags control different parts of policy, alignment, and reporting. Defaults and inheritance matter, so review this guide before selecting values.
| Tag | Purpose | Values | Default or inheritance |
|---|---|---|---|
v | Identifies the record as DMARC. It must appear first. | DMARC1 | Required and always generated. |
p | Policy for mail using the policy domain that fails DMARC. | none, quarantine, reject | RFC 9989 treats omission as none. This builder requires an explicit choice. |
sp | Policy for existing subdomains when the organizational policy applies. | none, quarantine, reject | Inherits p when omitted. |
np | Policy for non-existent subdomains of the Organizational Domain. | none, quarantine, reject | Inherits sp, then p. |
t | Requests test handling for an enforcement policy. | n, y | n. With y, reject is expected to act as quarantine and quarantine as none. It does not change reporting or p=none. |
psd | States whether the record belongs to a Public Suffix Domain or an explicit Organizational Domain. | u, n, y | u. Use y only as a Public Suffix Operator. Use n only when the domain is an Organizational Domain. |
adkim | Controls DKIM identifier alignment with the visible From domain. | r relaxed, s strict | r. Strict requires an exact domain match. |
aspf | Controls SPF identifier alignment with the visible From domain. | r relaxed, s strict | r. Strict requires an exact domain match. |
rua | Requests aggregate reports for authentication and disposition trends. | One or more reporting URIs | Optional. No aggregate reports are requested when omitted. |
ruf | Requests message-specific failure reports that can contain sensitive data. | One or more reporting URIs | Optional. Many receivers restrict or do not send these reports. |
fo | Controls which authentication failures can trigger failure reports. It does not change DMARC pass, fail, or disposition. | 0: report when all aligned mechanisms fail. 1: report when any mechanism fails to produce an aligned pass. Optional d: DKIM failure. Optional s: SPF failure. | 0. It is ignored without ruf. Report generators may decline to send failure reports. |
sp, np, t, psd, adkim, and aspf values. When ruf is present, fo is also explicit. rua and ruf appear only when you provide destinations.pct, ri, and rf from the current policy format. The analyzer reports them as historic if found, and this builder never generates them. External rua and ruf destinations can require authorization records in the destination domain.p=reject does not mean that every SPF or DKIM failure is rejected
DMARC fails only when neither mechanism produces an aligned pass. One mechanism can fail while the other still produces a DMARC pass.
After DMARC fails, p=none requests monitoring, p=quarantine requests suspicious handling, and p=reject requests rejection. Receivers can still apply local policy.
Monitoring example
v=DMARC1; p=none; sp=none; np=none; t=n; psd=n; adkim=r; aspf=r; rua=mailto:[email protected];Collect aggregate evidence without requesting enforcement. Defaults and inherited policies remain visible.
Enforcement example
v=DMARC1; p=reject; sp=reject; np=reject; t=n; psd=n; adkim=r; aspf=r; rua=mailto:[email protected];Requests rejection only for messages that fail DMARC. Relaxed alignment is written explicitly.
Optional failure reporting
v=DMARC1; p=reject; sp=reject; np=reject; t=n; psd=n; adkim=r; aspf=r; rua=mailto:[email protected]; ruf=mailto:[email protected]; fo=1;fo=1 changes the requested failure-report trigger. It does not make rejection stricter. Failure reporting is privacy-sensitive and not universally supported.
Describe the intended DMARC policy
Start with an inventoried and monitored sending environment. The builder creates a draft; it does not decide whether enforcement is safe.
psd=u is written explicitly unless you knowingly select n or y. Publish psd=y only when operating a Public Suffix Domain.
One simple unquoted ASCII address per line; maximum 10. The builder adds mailto:.
Optional and privacy-sensitive. Reports may contain message data or personal information.
Review before publishing
Not published or tested
Aggregate plus failure
Logical characters
No API traffic
DNS output
Use the exact owner and logical value. Your DNS provider may split the value into multiple quoted character strings.
Effective policy
Potential external-report authorization
Exact-domain mismatches are listed conservatively. Organizational-domain comparison requires the RFC 9989 DNS Tree Walk and must be confirmed with the analyzer.
Safe deployment sequence
Inventory legitimate senders, establish aligned SPF and DKIM, publish monitoring and aggregate reporting, review reports, remediate failures, approve enforcement, publish once, and validate authoritative DNS plus received-message results.
t=y is the current testing control. This builder does not generate historic sampling or interval tags and does not promise that every receiver will send reports or follow the requested disposition.
RFC 9989: DMARC, RFC 9990: Aggregate reports, RFC 9991: Failure reports.