Skip to content
PreviewFix
Email authentication & AI search7 min readReviewed

Moving corporate email to p=reject without breaking delivery.

How to audit DNS TXT records against RFC 7208's 10-lookup SPF ceiling, align DKIM selectors across third-party senders, advance DMARC enforcement in safe stages, and meet mailbox-provider bulk-sender rules.

  • RFC 7208 (SPF)
  • RFC 6376 (DKIM)
  • RFC 7489 (DMARC)
  • BIMI

Key engineering takeaways

Summary
  • Publishing v=DMARC1; p=none; without a rua= aggregate-report mailbox provides zero spoofing protection and leaves you blind to unaligned senders.
  • RFC 7208 §4.6.4 enforces a hard ceiling of 10 DNS-querying mechanisms (include, a, mx, ptr, exists, redirect) across the entire recursive SPF tree; hitting 11 triggers SPF permerror.
  • Delegate marketing, billing and helpdesk tools onto dedicated subdomains (mail.example.co.uk, billing.example.co.uk) instead of brittle IP-flattening scripts that break when SaaS providers rotate netblocks.
  • BIMI brand logos require DMARC enforcement (p=quarantine; pct=100 or p=reject), a Tiny-PS SVG asset, and — for Gmail/Apple Mail — a Verified Mark Certificate (VMC) or Common Mark Certificate (CMC) issued by a recognised CA.

Published by MeWeBe Limited · Factual engineering reference

1. Understanding RFC 7208's 10-lookup SPF ceiling and multiple-record traps

Sender Policy Framework (RFC 7208) suffers from two silent misconfigurations that break legitimate B2B mail daily. First, a domain may publish at most one v=spf1 TXT record at any given DNS label (RFC 7208 §3.2). Adding a second v=spf1 TXT record when onboarding a new CRM causes receiving mail servers to return permerror immediately.

Second, RFC 7208 §4.6.4 caps DNS-interactive evaluations (include, a, mx, ptr, exists and redirect) at 10 total lookups, counting nested include: chains recursively. Literal ip4:, ip6: and all mechanisms cost 0 DNS lookups. Stacking Google Workspace (3–4 nested lookups), Microsoft 365 (2), a helpdesk (2), a marketing ESP (3) and an ERP mailer (2) pushes the root domain past 10 and causes intermittent or total SPF failure.

  • Subdomain segmentation over static IP flattening: Moving bulk marketing or automated notifications onto news.company.co.uk or notify.company.co.uk gives each subdomain its own independent 10-lookup SPF budget and custom Return-Path (RFC5321.MailFrom), while static IP flattening goes stale whenever upstream cloud senders change IP ranges.
  • ~all (SoftFail) vs -all (Fail) with DMARC: During staged rollout or where mail forwarding exists, DKIM survives forwarding while SPF breaks; ensure 2048-bit DKIM signing and identifier alignment are verified on every legitimate stream before tightening policies.

2. Identifier alignment: why passing SPF/DKIM is not enough for DMARC

DMARC (RFC 7489) does not merely ask whether SPF or DKIM passed; it checks whether the authenticated domain aligns with the visible RFC5322.From header domain seen by the recipient. Many third-party invoicing and ticketing platforms pass SPF against their own bounce domain (bounces.vendor-mail.net) while displaying your company domain in From:. Without a custom Return-Path CNAME or custom 2048-bit DKIM selector (s1._domainkey.yourcompany.co.uk), DMARC evaluates that message as unauthenticated.

Staged DNS TXT progression on _dmarc.<domain>Specimen
; Stage 1 — Visibility only (collect aggregate XML reports for 14+ days; zero mail blocked)
_dmarc.example.co.uk. 3600 IN TXT "v=DMARC1; p=none; rua=mailto:dmarc-rua@example.co.uk; fo=1; adkim=r; aspf=r;"

; Stage 2 — Cautious quarantine (quarantine 25% -> 100% of unaligned mail to spam while checking reports)
_dmarc.example.co.uk. 3600 IN TXT "v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc-rua@example.co.uk; adkim=r; aspf=r;"

; Stage 3 — Full enforcement + subdomain lock (blocks spoofing of root and unused subdomains)
_dmarc.example.co.uk. 3600 IN TXT "v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc-rua@example.co.uk; adkim=r; aspf=r;"

3. Locking non-sending domains and preparing for BIMI

Any defensive .com, .co.uk or legacy domain owned by your company that never sends email should immediately publish explicit null records so attackers cannot spoof it: v=spf1 -all on the apex, *._domainkey IN TXT "v=DKIM1; p=" wildcard revocation, and v=DMARC1; p=reject; sp=reject; on _dmarc.

Once your active sending domain reaches p=quarantine; pct=100 or p=reject, you become eligible for BIMI (default._bimi.<domain> TXT record pointing l= to an HTTPS SVG Tiny Portable/Secure Tiny-PS logo). Note that Gmail and Apple Mail additionally require an a= URL pointing to a PEM-encoded VMC (requiring a registered trade mark) or CMC issued by an accredited Mark Verifying Authority; DNS records alone will not render inbox logos in providers that mandate a certificate.

SPEC · DNS-DMARC-05 · Reviewed 18 November 2026

Corporate email authentication rollout gates

Exact checks required before advancing _dmarc from monitoring to p=reject

Engineering checklist
Protocol layerDNS hostPass criterionCommon failure mode
SPF (RFC 7208)@ (apex) or sending subdomainSingle v=spf1 record, <= 10 recursive lookups, ends ~all or -allHard 10-lookup cap
DKIM (RFC 6376)<selector>._domainkey2048-bit RSA (or Ed25519) public key aligned with From: domainSurvives forwarding
DMARC (RFC 7489)_dmarcValid v=DMARC1; first tag, working rua= mailbox, staged p=rejectAnti-spoofing gate
Unsubscribe (RFC 8058)Mail headers (bulk >= 5,000/day)List-Unsubscribe + List-Unsubscribe-Post: List-Unsubscribe=One-ClickGmail / Yahoo bulk rule
BIMIdefault._bimip=quarantine (pct=100) or p=reject + SVG Tiny-PS + VMC/CMCOptional brand layer

Pre-p=reject cutover checklist

  • Inventory every system sending as @yourcompany.tld: Microsoft 365 / Google Workspace, CRM, invoicing/ERP, HR/payroll, support desk and website transactional mail.
  • Confirm recursive SPF DNS lookups sit comfortably at <= 8 so an upstream vendor adding a nested include: does not tip you over 10.
  • Review at least one full billing cycle (or 14 days) of rua XML reports to catch monthly statement or payroll senders before setting p=reject.
  • Publish sp=reject once all legitimate subdomains have explicit SPF and DKIM records.

DNS configuration guidance — always keep a low TTL (300–3600s) during policy transitions so you can step back rapidly if an undocumented legacy mailer appears.

Technical questions

Common edge cases & boundaries

Why did Google and Yahoo start rejecting bulk messages even when SPF passed?
Google, Yahoo and Microsoft bulk-sender policies require authentication alignment (both SPF and DKIM for high-volume senders, plus a published DMARC record, valid forward/reverse PTR DNS, low spam-complaint rates and RFC 8058 one-click unsubscribe on marketing mail).
Does ptr belong in an SPF record?
No. RFC 7208 §5.5 explicitly deprecates the ptr mechanism because it is slow, unreliable and consumes DNS lookup quota.
Can I check my domain right now without creating an account?
Yes. Enter your domain at /tools/dmarc-check or call POST /api/v1/engines/dmarc/analyse (1 credit unit) to inspect your live SPF lookup tree, DKIM/DMARC tags and BIMI readiness.

Run on your own input

Paired services & previews.

Every digital deliverable starts with a free preview on your own file, URL or domain; managed services lock your quote upfront and hold supplier payout until completion proof clears.

Continue reading

Related technical guides.

8 min read

BYOK vs prepaid credits: micro-API & licences

How our 25 HTTP engine endpoints separate zero-LLM deterministic checks from optional AI operations, how Bring-Your-Own-Key (BYOK) vs prepaid credits prevent surprise overage bills, and how AKL1 Ed25519 tokens verify offline.

7 min read

llms.txt & @id-linked JSON-LD for AI search

How the llmstxt.org specification works in strict validators, how robots.txt rules govern AI retrieval vs training bots, and how to link Organization, WebSite, Service, Product and Article JSON-LD nodes via @id without inventing facts.

Test before checkout

Inspect a free preview first.

Run our deterministic checks or live quote tool on your own file, URL, domain or postcode before paying a penny.