Pcornel
Security · Email Security

DMARC

Cheat sheet · https://pcornel.dk/topic.php?topic=4782

Back to the Topic

Answer

DMARC tells receivers what to do with mail that fails SPF and DKIM alignment for your domain — none, quarantine or reject — and sends reports. Move from p=none to p=reject once reports look clean.

Remember

  • Start at p=none and read reports.
  • Move to quarantine, then reject.
  • Alignment means the From domain matches SPF or DKIM domain.

First checks

  • dig TXT _dmarc.<domain> +short — DMARC policy
  • DMARC aggregate reports (rua) — sources
  • Alignment results — SPF/DKIM aligned

Verify in this order

From domain → aligned SPF/DKIM → policy → report

Where it usually breaks

First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4782

Confirmation

Confirm action

Continue?