Cluster 19 · RFC 8058 · Bulk Email · List-Unsubscribe-Post

RFC 8058 One-Click List-Unsubscribe Header & POST Endpoint Generator

Generate Gmail & Yahoo mandatory RFC 8058 List-Unsubscribe and List-Unsubscribe-Post: List-Unsubscribe=One-Click headers plus an edge POST handler.

RFC 7208 · 7489 · 8461 · 8460 · 8058 · Zero Upload

3. Google, Yahoo & Microsoft Matrix + DKIM & RFC 8058

2025–2026 Bulk Sender Rules
8 Bulk-Sender & Cryptographic Controls
2025–2026 Bulk-Sender Deliverability Score
100 / 100 (A+)
PASS
Google Gmail (2024–2026 Policy) (>=5,000 msgs/day) COMPLIANT
Requires SPF+DKIM alignment, DMARC record, <0.30% spam rate (<0.10% target), and RFC 8058 One-Click for >=5k/day bulk senders.
Yahoo Mail (2024–2026 Policy) (Bulk / Commercial Senders) COMPLIANT
Enforces SPF+DKIM alignment, DMARC, valid PTR/rDNS, <0.30% spam ceiling, and 48-hour RFC 8058 one-click opt-out.
Microsoft Outlook / Consumer (May 2025+ Mandate) (>=5,000 msgs/day to outlook/hotmail/live) COMPLIANT
Effective May 2025, Outlook consumer rejects non-compliant high-volume senders failing SPF+DKIM+DMARC alignment (550 5.7.515).
RFC 8058 One-Click Unsubscribe Headers
List-Unsubscribe: <mailto:[email protected]?subject=unsubscribe>, <https://acme.example.com/unsubscribe/one-click>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acme.example.com; s=s1; ...
Zero-Downtime 2048-Bit DKIM Selector Rotation Runbook
# Zero-Downtime 2048-Bit DKIM Rotation (acme.example.com)
1. Publish BOTH selectors simultaneously in DNS:
   - Active Primary:   s1._domainkey.acme.example.com (TXT v=DKIM1; k=rsa; p=<2048_BIT_KEY_A>)
   - Standby Rotation: s2._domainkey.acme.example.com (TXT v=DKIM1; k=rsa; p=<2048_BIT_KEY_B>)
2. Flip MTA / ESP outbound signing from s=s1 -> s=s2 and monitor DMARC rua= alignment for 72h.
3. Once zero mail uses s=s1, revoke s1._domainkey.acme.example.com by publishing "v=DKIM1; p=" before deleting.
MailAuth Pro $39 · ReadyCheck $49 Live DoH + SMTP TLS

Verify Live SPF, DMARC, DKIM, MTA-STS & BIMI Deliverability

Run an automated live email deliverability audit on MailAuth Pro ($39) (mail.runglab.dev) or inspect full 100-point DNS, Email-TLS, Security Headers & AEO on ReadyCheck ($49) (audit.runglab.dev) — or ship the $49 ReadyCheck Domain Fix Pack. Prefer PayPal invoicing? Email [email protected].

Email Deliverability Specification & Baseline

Control / Standard Hardened Baseline Deliverability & Security Rationale
List-Unsubscribe Header <mailto:...>, <https://...> Must include a working HTTPS URI (mailto optional fallback) signed by DKIM
List-Unsubscribe-Post List-Unsubscribe=One-Click Exact static header token required by RFC 8058 §3.1 for Gmail/Yahoo one-click button
HTTP Method & Body POST with List-Unsubscribe=One-Click Must succeed on unauthenticated POST with zero confirmation screens or login prompts
DKIM Header Coverage h=...:list-unsubscribe:list-unsubscribe-post RFC 8058 requires DKIM signature to cover both headers to prevent spoofing

RFC 8058 Email Headers (DKIM-Signed)

rfc8058-headers.eml
List-Unsubscribe: <mailto:[email protected]?subject=unsubscribe>, <https://acme.example.com/unsubscribe/one-click?token=HMAC_SIGNED_TOKEN>
List-Unsubscribe-Post: List-Unsubscribe=One-Click

Cloudflare Worker / Edge RFC 8058 POST Handler

one-click-unsub-handler.js
export async function handleOneClickUnsub(request) {
  if (request.method !== "POST") return new Response("Method Not Allowed", { status: 405 });
  const body = await request.text();
  if (!body.includes("List-Unsubscribe=One-Click")) {
    return new Response("Invalid RFC 8058 payload", { status: 400 });
  }
  const token = new URL(request.url).searchParams.get("token") || "";
  // Verify HMAC token and suppress recipient within <=48h (typically instant)
  return new Response("Unsubscribed", { status: 200 });
}

Implementation Steps & Key Insights

  1. Enter your HTTPS one-click unsubscribe endpoint and fallback mailto: address in Mode 3 above.
  2. Inject both List-Unsubscribe and List-Unsubscribe-Post: List-Unsubscribe=One-Click on all marketing and newsletter messages.
  3. Ensure your MTA includes list-unsubscribe and list-unsubscribe-post inside the DKIM h= signed header list.
  4. Test that POST requests suppress recipients automatically without showing a web confirmation form, then audit your domain at mail.runglab.dev and audit.runglab.dev.
  • Mail scanners never click GET links on RFC 8058 endpoints — Gmail and Yahoo send an HTTP POST containing List-Unsubscribe=One-Click only when the user clicks the native Unsubscribe UI.
  • Fast, frictionless one-click opt-outs directly prevent users from hitting 'Report Spam', protecting your <0.10% Google Postmaster complaint budget.

Common Deliverability & DNS Pitfalls

  • Returning a 200 HTML 'Are you sure you want to unsubscribe?' page instead of immediately processing the POST request.
  • Forgetting to include List-Unsubscribe-Post in the DKIM h= signed-headers list (RFC 8058 §3.2).
Verify Live: Audit your live DNS, MTA-STS & BIMI records at MailAuth Pro ($39) or run a full 100-point scan on ReadyCheck ($49).

More Email Deliverability, MTA-STS & BIMI Tools

← Back to Email Deliverability Hub · MailAuth Pro ($39) → · ReadyCheck ($49) →

Frequently Asked Questions

Why do security scanners accidentally unsubscribe users on GET links, and how does RFC 8058 fix it?

Corporate link-prefetchers issue GET requests to inspect URLs; RFC 8058 mandates HTTP POST with body List-Unsubscribe=One-Click, which scanners never issue.

How fast must a one-click unsubscribe request be processed?

Google and Yahoo require processing within 48 hours, though instantaneous database suppression prevents follow-up sends in active campaigns.

Can I verify my mail headers and domain auth stack together?

Yes — scan live at https://mail.runglab.dev/?ref=tools-mailauth or https://audit.runglab.dev/?ref=tools-mailauth.