Momentum#1494 document msys.validate.opendkim.get_sig_result / get_stat_result - #866
Merged
Merged
Conversation
…at_result New Lua helpers that derive the Authentication-Results verdict for a DKIM signature (pass, or a named failure) and map verification statuses that carry no per-signature verdict (none/permerror/temperror). Also caution on the get_sig_errorstr page: its return for a valid signature is the literal "no signature error", never nil, so it must not be used as a pass/fail test. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…sed) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
✅ Deploy Preview for support-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: Doug Koerich <douglas.koerich@bird.com>
juliebin
reviewed
Aug 11, 2026
Signed-off-by: Doug Koerich <douglas.koerich@bird.com>
balupillai
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation counterpart of SparkPost/Momentum#1495 (issue SparkPost/Momentum#1494).
msys.validate.opendkim.get_sig_result(derive the Authentication-Results verdict for a DKIM signature:pass, or a namedfail (...)) andmsys.validate.opendkim.get_stat_result(map verification statuses that carry no per-signature verdict tonone/permerror/temperror, nil otherwise) — both available starting 5.4.get_sig_errorstrpage: for a valid signature it returns the literal string"no signature error", never nil, so it must not be used as a pass/fail test (the misuse behind Momentum#1494).🤖 Generated with Claude Code
Note
Low Risk
Documentation-only changes to Momentum Lua reference pages; no runtime or application code.
Overview
Documents two Momentum 5.4 OpenDKIM Lua helpers for building
Authentication-Resultsdkim=clauses:msys.validate.opendkim.get_sig_ar_verdict(per-signaturepassorfail (reason)) andmsys.validate.opendkim.get_stat_ar_verdict(message-levelnone/permerror/temperror, ornilwhen per-signature results apply), including a combined usage example on the new reference page.get_sig_errorstris updated to state that valid signatures return"no signature error"(not nil) and that nil-checking must not be used for pass/fail; readers are directed toget_sig_ar_verdict. The Lua function index and summary table gain rows for both new APIs;lastUpdatedmetadata is refreshed on touched pages.Reviewed by Cursor Bugbot for commit 3e12105. Bugbot is set up for automated code reviews on this repo. Configure here.