Generates a DMARC record for your domain with all the options available in our UI. Our reporting addresses (RUA and RUF) are automatically included.
Standard DMARC Options: - p (policy): How to handle emails that fail DMARC (none, quarantine, reject) - sp (subdomain policy): Policy for subdomains (none, quarantine, reject) - pct (percentage): Percentage of emails to apply the policy to (0-100) - adkim (DKIM alignment): How strictly to check DKIM (r=relaxed, s=strict) - aspf (SPF alignment): How strictly to check SPF (r=relaxed, s=strict) - fo (forensic options): When to send forensic reports (0, 1, d, s - can combine with colon) - additional_rua_emails (array): Additional email addresses for aggregate reports - additional_ruf_emails (array): Additional email addresses for forensic reports
DMARCbis Options (newer standard): - t (test mode): Enable test mode - reports only, no policy enforcement (y, n) - psd (public suffix domain): Is this a public suffix domain? (y, n, u=unknown) - np (non-existent subdomain policy): Policy for non-existent subdomains (none, quarantine, reject)
Forensic Options (fo) explained: - 0: Send report if all authentication fails (default) - 1: Send report if any authentication fails - d: Send report if DKIM fails - s: Send report if SPF fails - Combine with colon, e.g., ā1:d:sā for multiple options
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 500 | Server crashed for some reason |
| Param name | Description |
|---|---|
|
p required |
Policy: none (monitor), quarantine (spam folder), reject (block) Validations:
|
|
sp optional |
Subdomain policy (optional) Validations:
|
|
pct optional |
Percentage of emails to apply policy (0-100) Validations:
|
|
adkim optional |
DKIM alignment: r=relaxed (default), s=strict Validations:
|
|
aspf optional |
SPF alignment: r=relaxed (default), s=strict Validations:
|
|
fo optional |
Forensic options: 0, 1, d, s (combine with colon, e.g., ā1:dā) Validations:
|
|
additional_rua_emails optional |
Additional aggregate report email addresses Validations:
|
|
additional_ruf_emails optional |
Additional forensic report email addresses Validations:
|
|
t optional |
DMARCbis: Test mode (y=yes, n=no) Validations:
|
|
psd optional |
DMARCbis: Public suffix domain (y=yes, n=no, u=unknown) Validations:
|
|
np optional |
DMARCbis: Non-existent subdomain policy Validations:
|
|
publish optional |
Also publish this record to hosted DMARC (requires hosted_dmarc enabled) Validations:
|