DMARC to enforcement

Read your DMARC reports, then move the policy to quarantine or reject.

mailset guide dmarc
6 stepsOn this page
  1. Steps
  2. Setup
  3. 1See what the reports say
  4. 2Fix the record if it needs it
  5. 3Wait a few days for reports
  6. 4Look at each failing source
  7. 5Move the policy to quarantine
  8. 6Move the policy to reject
  9. Check
  10. Watch out

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. Install the CLI and sign in

    Sign inSign in with a passkey

    Press Sign in with a passkey and approve it on this device, your phone or a password manager. Mailset has no passwords.

    Open in Mailset

    The command

    Install the CLI on macOS or Linux with brew install intenseloop/tap/mailset or npm install -g @mailset/cli.

    Run mailset login, open the link it prints and approve with your passkey.

    In a terminal, login also offers your agents the Mailset skill; mailset agents add does it later.

    Install the CLI on macOS or Linux with brew install intenseloop/tap/mailset or npm install -g @mailset/cli.

    Run mailset login, open the link it prints and approve with your passkey.

    In a terminal, login also offers your agents the Mailset skill; mailset agents add does it later.

  2. See what the reports say

    SettingsDomainsDMARC

    Find example.com’s row. It says whether the record works with Mailset’s mail, the share that passed, and when the last report came.

    Open in Mailset

    The command

    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.

    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.

  3. Fix the record if it needs it

    SettingsDomainsFix the record

    Press Fix the record to see what’s wrong. Mailset writes the fix with your passkey where it can, or gives you the record to copy.

    Open in Mailset

    The command

    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.

    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.

  4. Wait a few days for reports

    Wait a few days. Large receivers send a report a day.

    Messages in DMARC reports
  5. Look at each failing source

    SettingsDomainsServers that fail

    Each server that fails shows its IP, its message count and which checks failed. One you don’t know is someone sending as you.

    Open in Mailset

    The command

    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.

    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.

  6. Move the policy to quarantine

    Moving the policy takes the command.

    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.

    Hand it to your agent

    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.

    DMARC policy
  7. Move the policy to reject

    Moving the policy takes the command.

    After a while at quarantine with nothing of yours failing, run mailset domains dmarc example.com --policy reject.

    Hand it to your agent

    After a while at quarantine with nothing of yours failing, run mailset domains dmarc example.com --policy reject.

    DMARC policy

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.