Mail::...esults(3pm)
π Mail::SpamAssassin::Header::ArcAuthenticationResults π
okay bestie, welcome to the glow-up era of header parsing β¨ this little module lives in the Mail::SpamAssassin::Header family (you'll spot it as Mail::...esults(3pm) in your man output, the terminal was just being dramatic and truncating) and it is, no cap, the parser for ARC-Authentication-Results headers π
πΈ NAME πΈ
Mail::SpamAssassin::Header::ArcAuthenticationResults β parser for ARC-Authentication-Results headers
like. that's the whole vibe. it parses ARC-Authentication-Results headers. periodt. π
β¨ SYNOPSIS β¨
my $aar = Mail::SpamAssassin::Header::ArcAuthenticationResults->new($hdr_value);
print $aar->arc_index(); # 1
print $aar->authserv_id(); # 'mx.example.com'
my @names = $aar->methods(); # ('spf', 'dkim', ...)
look at her go π¦ three tiny calls and you already know the instance index, who authenticated it, and what got authenticated. main character module energy fr fr π
π«Ά DESCRIPTION π«Ά
So this class inherits from AuthenticationResults and its whole job is parsing ARC-Authentication-Results header fields, the way RFC 8617 says to do it π
and here's the tea β the only difference between this and a bog-standard Authentication-Results header is a little leading i=N; tag. that's it. that's the tag that tells you which ARC instance index you're looking at β basically the header's own lil β¨serial numberβ¨.
so yeah, this module is the standard parser's cooler younger sibling who does one extra thing and does it flawlessly π
π METHODS π
new($value)β creates a brand new instance, parsing the raw header value you hand it πΌ thei=N;prefix gets extracted and stashed away first, and only then does it hand things off to the parent parser. delegation, but make it fashion β¨arc_index()β returns the ARC instance index, a.k.a. the value of thati=tag π·οΈ that's her. that's the number.
π₯ SEE ALSO π₯
nope, there's literally no SEE ALSO section here bestie, I checked twice π go read RFC 8617 if you want the lore, but that's me guessing and I promised not to do that. so instead: go forth and parse π§
π friendly reminder that everything above is exactly what the original page says β I added sparkle, not opinions. don't come for me if you wanted more methods, there are genuinely only two π
mwah, you understood it, I'm so proud of you ππ
sign-off time π this lil page is documented from perl v5.40.1, dated 2026-07-23, and filed under User Contributed Perl Documentation for Mail::...esults(3pm). tysm for reading, now go authenticate something π
β¨
π¦ where this page comes from
- ubuntu stonking: spamassassin 4.0.2+svn1935691-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms