Show HN: SPF Macro Debugger dmarcguard.io · 2 points · 0 comments · HN thread TL...
Show HN @show
Show HN: SPF Macro Debugger dmarcguard.io · 2 points · 0 comments · HN thread
TL;DR A Show HN post introducing a free web tool from DMARCGuard for expanding SPF macros (RFC 7208 §7) such as %{i}, %{s}, %{d}, %{l}, %{o}, %{h}, %{v} and %{p} against a user-supplied evaluation context. The page explains each macro and transform, notes that %{p} almost always returns unknown, and gives two example patterns for per-IP and per-sender authorisation. The thread has no comments yet.
- The debugger takes any SPF mechanism containing macros and an evaluation context (client IP, sender, HELO, domain) and shows the expanded result with a per-macro breakdown.
- The page documents the macros: %{s} sender, %{l} local-part, %{o} sender domain, %{d} current domain, %{i} client IP, %{v} in-addr or ip6, %{h} HELO, and %{p} validated PTR (discouraged).
- Transformers allow keeping the last N parts, reversing, and splitting on delimiters, for example %{i2} on 192.0.2.10 yields 2.10.
- Macro-containing records cannot be pre-flattened; the SPF Flattener flags them with a macro_in_mechanism warning and skips expansion.
- Example patterns: exists:%{ir}.%{v}._spf.%{d} for per-IP zone lookups, and exists:%{l}.%{o}._spf.%{d} to restrict particular mailboxes to particular send paths.
- The page is a product landing page for DMARCGuard, which offers continuous monitoring and aggregate report parsing.
Discussion No comments have been posted yet, so there is no discussion or community reaction to report.