RFC 9989 browser-only builder

DMARC Policy Builder

Create a current DMARC policy draft with explicit domain, subdomain, non-existent-domain, testing, classification, alignment, and reporting choices.

Runs entirely in your browserNo API request or storageNo DNS changes
Tag guide

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.

RFC 9989 tags supported by this builder
TagPurposeValuesDefault or inheritance
vIdentifies the record as DMARC. It must appear first.DMARC1Required and always generated.
pPolicy for mail using the policy domain that fails DMARC.none, quarantine, rejectRFC 9989 treats omission as none. This builder requires an explicit choice.
spPolicy for existing subdomains when the organizational policy applies.none, quarantine, rejectInherits p when omitted.
npPolicy for non-existent subdomains of the Organizational Domain.none, quarantine, rejectInherits sp, then p.
tRequests test handling for an enforcement policy.n, yn. With y, reject is expected to act as quarantine and quarantine as none. It does not change reporting or p=none.
psdStates whether the record belongs to a Public Suffix Domain or an explicit Organizational Domain.u, n, yu. Use y only as a Public Suffix Operator. Use n only when the domain is an Organizational Domain.
adkimControls DKIM identifier alignment with the visible From domain.r relaxed, s strictr. Strict requires an exact domain match.
aspfControls SPF identifier alignment with the visible From domain.r relaxed, s strictr. Strict requires an exact domain match.
ruaRequests aggregate reports for authentication and disposition trends.One or more reporting URIsOptional. No aggregate reports are requested when omitted.
rufRequests message-specific failure reports that can contain sensitive data.One or more reporting URIsOptional. Many receivers restrict or do not send these reports.
foControls 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.
Explicit output: The generated record always includes effective 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.
Deprecated or historic tags: RFC 9989 removed 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.
How the decision works

p=reject does not mean that every SPF or DKIM failure is rejected

1. Look for an aligned pass

DMARC passes when at least one DKIM signature passes with an aligned signing domain, or SPF passes with an aligned MAIL FROM domain.

2. Determine DMARC failure

DMARC fails only when neither mechanism produces an aligned pass. One mechanism can fail while the other still produces a DMARC pass.

3. Apply the requested policy

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.

Policy controls

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.

Additional failure signals
Analyze published policy