Mail::...Mailman(3pm)
π Mail::...Mailman β the manual page, but make it slay π
okay so bestie, you found the Mail::...Mailman page (that's Mail::ListDetector::Detector::Mailman for the perl people, 3pm section, iykyk) and it is lowkey iconic. it's a perl thing, it lives in the User Contributed Perl Documentation, and it's about catching Mailman mail. let's get into it β¨
πΈ NAME πΈ
Mail::ListDetector::Detector::Mailman β a Mailman message detector. yes that's the whole name. it detects. it's a detector. main character energy fr π
π SYNOPSIS π
the vibe check, literally:
use Mail::ListDetector::Detector::Mailman;
that's it. that's the whole flex. one line and you're in π«Ά
π¦ DESCRIPTION π¦
so this is an implementation of a mailing list detector, specifically for GNU Mailman. like, it's the little guy whose whole job is figuring out "is this a Mailman list or not?" and it eats that question for breakfast. no cap π
π METHODS π
β¨ new() β¨
inherited from Mail::ListDetector::Detector::Base. so you don't get a bespoke one here, bestie, you get the family recipe. π
β¨ match() β¨
okay this is the one that does the werk. it accepts a Mail::Internet object and it returns either:
- a
Mail::ListDetector::Listobject β if it turns out the message is a post to a Mailman mailing list π undefβ if it's not π«
so basically it looks at your mail and goes "hmm yes this is giving Mailman" or "nope, not my problem". periodt.
π BUGS π
no known bugs. literally none. we're clean, we're flawless, we're not accepting criticism at this time πβ¨
π AUTHOR π
Michael Stevens β michael@etla.org.
shoutout to the whole thing being perlv5.36.0energy, dated2022-11-29, and filed underMail::...Mailman(3pm). mwah, gorgeous, no notes ππ§π
π¦ where this page comes from
- debian bookworm: libmail-listdetector-perl 1.04+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmail-listdetector-perl 1.04+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmail-listdetector-perl 1.04+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmail-listdetector-perl 1.04+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmail-listdetector-perl 1.04+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms