List-Unsubscribe validator

RFC 8058 defines the one-click unsubscribe: a List-Unsubscribe: header carrying an https URL, a List-Unsubscribe-Post: List-Unsubscribe=One-Click header, and a valid DKIM signature that covers both. The mailbox provider can then send the reader’s unsubscribe as a POST, with no confirmation page at the sender’s end.

Gmail and Yahoo built one-click into their February 2024 bulk-sender rules. Google requires it on marketing and subscribed messages from senders of more than 5,000 messages a day to personal Gmail accounts, and its FAQ says a mailto does not meet the requirement. Yahoo requires bulk senders to put a functioning List-Unsubscribe header on the same kinds of mail. It calls the RFC 8058 POST “highly recommended”, accepts mailto:, and publishes no volume threshold. Both also require SPF, DKIM and DMARC.

Google says it does not automatically reject or spam-folder a message that misses one-click; the sender loses eligibility for delivery mitigation. For messages not authenticated with both SPF and DKIM, it lists failure codes or spam foldering. Yahoo says mail that misses its requirements may go to spam or be rejected.

This validator grades eight signals from a copy of the raw source of a sent message: five RFC 8058 header checks, and the SPF, DKIM and DMARC results the receiver recorded. It runs entirely in your browser; the pasted headers are never uploaded.

This is a static check. It reads whether the one-click headers are present and well-formed, whether a DKIM signature lists them in its h= tag, and the SPF, DKIM and DMARC results the receiver stamped. It does not verify a signature itself, and it does not fire the one-click POST against your unsubscribe endpoint. A header can be present and the endpoint still answer the mailbox provider’s POST with a 500. For that, use the live tester. Parsing runs entirely in your browser; nothing here uploads.

What the tool checks

RFC 8058 (five checks):

  • The message has one List-Unsubscribe: header.
  • Its value contains exactly one <https://…> URL. A <mailto:…> can sit alongside it; a second https URL or an http:// one can’t. A <mailto:…> on its own isn’t RFC 8058 compliant, because one-click is an HTTPS POST.
  • The message has one List-Unsubscribe-Post: header, with the value List-Unsubscribe=One-Click.
  • The https URL parses cleanly, with a hostname.
  • A DKIM-Signature: header lists List-Unsubscribe and List-Unsubscribe-Post in its h= tag, and the receiver recorded dkim=pass for that signature. Section 4 of the RFC requires both.

Authentication results (three more checks):

  • The receiver’s Authentication-Results: line records spf=pass.
  • It records dkim=pass.
  • It records dmarc=pass.

The validator does not verify signatures itself. It matches a dkim=pass to a signature by the header.b value, or by the selector in header.s together with the domain in header.d or header.i. When a signature lists both headers but no dkim=pass in the pasted block can be matched to it, the verdict is NOT CONFIRMED. The dkim= result Microsoft documents carries only header.d, so a copy with a result in that form cannot be confirmed. Send the same message to a mailbox whose dkim= result records header.b or header.s. A copy taken before delivery, with no Authentication-Results: line, cannot pass.

The bulk-sender verdict needs all eight. It follows Google’s rule, so a mailto-only message that Yahoo would accept fails it. A pass covers what the headers show. Both providers also have requirements the headers don’t show, such as a spam rate below 0.3%, valid forward and reverse DNS for the sending IP, and an unsubscribe link in the message body.

Static check versus live one-click test

The header can be present, well-formed, and still not work. RFC 8058 has the mailbox provider POST List-Unsubscribe=One-Click to the URL, and the endpoint has to unsubscribe the recipient without further interaction, without cookies, and without answering with a redirect. A static header check catches a missing header, a wrong value and a mailto-only header. It can’t catch a broken endpoint.

The live list-unsubscribe tester fires an actual POST against the endpoint, reads the response code, headers, and timing, and fails an endpoint that redirects. Static check first, live POST second.

How to get raw headers

  • Gmail / Google Workspace. Open the message. Three-dot menu → Show original. Copy from the top of the raw source down through the blank line that ends the header block.
  • Outlook (web) / Microsoft 365. Three-dot menu → View → View message source. Copy the header block.
  • Apple Mail (macOS). View → Message → Raw Source.
  • Thunderbird. View → Message Source (Ctrl+U).

Paste into the textarea above. The tool parses in your browser — nothing crosses the network.

Why the RFC 8058 checks read the way they do

The List-Unsubscribe: header predates one-click by more than a decade. RFC 2369 (1998) defined it as a list of <URI> entries and allowed mailto:, so a List-Unsubscribe: <mailto:…> with nothing else is compliant with RFC 2369 and not with RFC 8058.

RFC 8058 adds three things. The header must contain an HTTPS URI, which is the target of the POST. The List-Unsubscribe-Post: header must carry List-Unsubscribe=One-Click, which tells the receiver that a POST to that URI unsubscribes the recipient without manual intervention. The message must also have a valid DKIM signature that covers both headers.

A look at the headers misses the third. A message can carry both headers and a passing DKIM signature whose h= tag leaves them out, and RFC 8058 then says the receiver SHOULD NOT offer one-click for it. The DKIM signer decides which headers it covers. It may be the sending service or a WordPress plugin, so check the signing component’s configuration.

Why the authentication results are graded separately

SPF, DKIM and DMARC are bulk-sender requirements of their own, and Google and Yahoo ask for all three. Alignment is needed on only one side: both providers accept a From: domain aligned with either the SPF domain or the DKIM domain, and dmarc=pass is the receiver’s record that one of them aligned. The DKIM check reports whether the signing domain matches From:, but does not fail a message for it.

A green RFC 8058 verdict with a red bulk-sender verdict means the one-click headers are right and an authentication result isn’t.

When you’re ready to check further

  • The header auth visualizer reads the same header block into a visual SPF / DKIM / DMARC / ARC chain — useful for tracing a dmarc=fail back to which mechanism didn’t align.
  • The DNS auth checker reads the live SPF, DKIM, DMARC, MTA-STS, and TLS-RPT records for a domain over DNS-over-HTTPS and scores them against the same Gmail, Yahoo, and Microsoft 365 bulk-sender requirements. It’s the check to run before you flip a sending domain into production.
Corrections
  • 2026-11-25: until this date the RFC 8058 verdict did not check that a valid DKIM signature covers the two headers, which section 4 of the RFC requires, so a message could pass without it. It also passed a message with two copies of either header, or with a second web URL in List-Unsubscribe; under section 3.1 the sender places one of each header in the message, with one HTTPS URI. Messages that passed should be checked again. The tool also failed DKIM signatures not aligned with the From: domain, though Google and Yahoo accept SPF or DKIM alignment, and failed an IP address as the unsubscribe host, which RFC 8058 does not rule out. The page said Gmail and Yahoo spam-folder or reject mail that misses any requirement, gave 5,000 messages a day as Yahoo’s threshold, and said one-click is needed on every message. Google says it does not automatically reject or spam-folder mail that misses one-click, Yahoo publishes no threshold, and both limit one-click to marketing and subscribed mail.
  • 2026-11-25: an earlier version said RFC 8058 requires a POST with an empty body and a 2xx response, and that Gmail and Yahoo probe the endpoint and treat a failing one as a missing header. The body is List-Unsubscribe=One-Click, the RFC names no response codes, and neither provider documents such a probe.