Fundamentals · DMARC

What is DMARC?

DMARC is the conductor. It ties SPF and DKIM together, checks that both match the visible From address — and tells the recipient what should happen with forgeries.

Why DMARC?

SPF and DKIM each check only one technical detail: is the IP allowed (SPF)? Is the signature valid (DKIM)? Neither says anything about whether the sender address the recipient sees matches the domain being checked. That is exactly where DMARC steps in.

Alignment — the key concept: the domain in the visible From address must match the domain that SPF checked or DKIM signed. If at least one matches, DMARC counts as passed.

Example record

; TXT record for _dmarc.firma.at
"v=DMARC1; p=reject; rua=mailto:[email protected]; pct=100; adkim=s; aspf=s"

The most important parameters:

TagMeaning
p=Policy: none, quarantine or reject.
rua=Address for aggregate reports (daily statistics).
ruf=Address for forensic reports (individual failed messages).
pct=What percentage of mail the policy is applied to.
adkim / aspfAlignment strictness: s=strict, r=relaxed.

The three policies

PolicyEffectUse
p=noneObserve only — reports, no action.Start
p=quarantineSuspicious mail goes to the spam folder.Stage 2
p=rejectSuspicious mail is rejected outright.Target

How it fits together — an analogy

Picture a visit to an embassy:

Jumping from none straight to reject is risky. Without report analysis you risk blocking legitimate mail (forgotten newsletter tools, old CRMs). The DMARC policy guide shows the safe path.

Using reports properly

The aggregate reports (via rua) arrive daily from Google, Microsoft, Yahoo & co. as XML files. They list which IPs have been sending in your name — including any that fail SPF or DKIM. That is gold for spotting shadow IT and phishing attempts.

Frequently asked questions

Do I need both SPF and DKIM for DMARC?

At least one of the two must be present, valid and aligned. Setting up both is best practice — DKIM gives forwarding resilience, SPF an IP allowlist.

What does alignment mean?

The SPF domain (envelope sender) or the DKIM d= tag must match the visible From domain. Without alignment, DMARC fails even if SPF and DKIM each pass on their own.

What exactly does p=quarantine do?

Recipients are instructed to place non-aligned authenticated mail into the spam folder instead of delivering it. The middle stage between p=none (monitoring) and p=reject (rejection).

How often do DMARC reports arrive?

Aggregate reports usually daily (every 24 hours) from each active recipient. Forensic reports arrive in real time on failures — if the recipient sends them at all.

How long does it take to reach p=reject?

With a small, clean sender landscape, 4–8 weeks. In grown organisations with unknown senders, 3–6 months. Completeness matters more than speed. More details in the DMARC policy guide.