# DMARC to enforcement

Needs the Mailset CLI, signed in: step 1 of `mailset guide onboarding`.

DMARC tells receivers what to do with mail that claims your domain and fails both DKIM and SPF. At `p=none` they only report it. At `p=quarantine` or `p=reject` they stop it, and inboxes show your logo only at one of those two. Replace example.com with your domain.

Mailset never moves your policy on its own. It mends only what breaks its own sending, and won't raise the policy until reports show your mail passing.

## Steps

1. Run `mailset domains dmarc example.com`. It shows whether the record works with mail Mailset sends, the share of messages that passed in receivers' reports, and the sources that failed.
2. If the record needs a fix, run `mailset domains apply example.com` where Mailset can write to your DNS host, or publish the record it prints at `_dmarc.example.com` by hand. The fix keeps your policy and adds Mailset's report address.
3. Wait a few days. Large receivers send a report a day.
4. Look at each failing source. One you know (a help desk, a billing tool, an old provider) needs to send through Mailset or sign with your domain's DKIM: `mailset guide old-provider`. One you don't know is someone else sending as you.
5. When nothing you send fails, run `mailset domains dmarc example.com --policy quarantine`, with your passkey. It waits for 2 days of reports and 50 messages in the last 7 days, 98% passing DMARC; until then it says what's missing and which sources fail. It replaces the record where Mailset can write to your DNS host, and elsewhere prints it and where to publish it.
6. After a while at quarantine with nothing of yours failing, run `mailset domains dmarc example.com --policy reject`.

## Check

`mailset domains status example.com` shows the DMARC row as `ok` once the policy is quarantine or reject on all of the mail. `mailset domains dmarc example.com` keeps showing the pass rate.

## Watch out

- `pct` below 100 applies the policy to part of the mail, and `sp=none` leaves subdomains without one. Inboxes show no logo with either.
- A subdomain such as news.example.com counts the policy on example.com too. Fix the registered domain's record first.
- `aspf=s` fails every message Mailset sends, because its bounce address is on a subdomain. Mailset relaxes it when it mends the record.
- Keep one DMARC record. With two, receivers ignore both.
- Quarantine sends failing mail to spam. A sender you forgot about starts landing there the day you move.
- `--anyway` sets the policy without waiting for reports. Use it only when you know every sender, such as a domain that sends nothing yet.
- `mailset domains dmarc example.com --policy none` lowers it again at once, if something you need starts failing.

---

© 2026 Intenseloop, Inc. Mailset’s site, docs and guides are copyrighted. You may read them and use their code to build with Mailset. Don’t republish them or use them to build a copy of Mailset. Terms: https://mailset.app/terms#content