Mail::...zzyHash(3pm)

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

πŸ’– NAME πŸ’–

okay bestie, gather round, because Mail::SpamAssassin::FuzzyHash is here and she's serving fuzzy-hash similarity detection for SpamAssassin 🌸 this is the 3pm manual page, so like, yes it's Perl module docs, and yes it's lowkey iconic πŸ’…


✨ DESCRIPTION ✨

so this one is the root namespace for all the fuzzy-hash algorithms that SpamAssassin uses to sniff out near-duplicate spam messages πŸ•΅οΈβ€β™€οΈ like, spam that got a lil glow-up and changed a word or two? yeah, this whole namespace is how we catch that. no cap.


🌈 AVAILABLE MODULES 🌈

πŸ¦‹ Mail::SpamAssassin::FuzzyHash::ZOrder

okay this one is doing MinHash-based fuzzy similarity and the way it does it is using exactly 4 DNS TXT lookups β€” not 3, not 5, exactly four ✨ and it detects texts with approximately 90% token overlap efficiently. she's fast, she's efficient, she's the main character fr fr πŸ‘‘

πŸŽ€ Mail::SpamAssassin::FuzzyHash::Util

the shared utility girlies 🫢 these are the helper functions that all the fuzzy-hash implementations borrow:

  • normalize_tokens()
  • hamming_distance()

that's it, that's the list, and honestly? obsessed. πŸ’œ


heads up bestie, if you're looking for the deep lore on any of these, go read their own pages, because this one is just the rooftop party where they all hang out πŸŽ‰

and that's the whole thing! πŸ₯³ this was pulled straight from the perl v5.40.1 docs, dated 2026-07-23, and it lives under the Mail::...zzyHash(3pm) name because even the header was feeling a little mysterious πŸ’… bye bestie, go write some good regex πŸ’–βœ¨

πŸ“¦ where this page comes from