Mail::...esults(3pm)

πŸ“¦ version 4.0.2+svn1935691, in ubuntu stonking

πŸ’– 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 🍼 the i=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 that i= 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