Mail::...tiVirus(3pm)

✨ NAME ✨

Mail::...tiVirus β€” bestie, this is the manual page for the AntiVirus plugin, and it's giving simple anti-virus tests. That's the whole vibe πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's how you actually wire it up, no cap:

loadplugin     Mail::SpamAssassin::Plugin::AntiVirus

body MICROSOFT_EXECUTABLE eval:check_microsoft_executable()
body MIME_SUSPECT_NAME    eval:check_suspect_name()

like, that's it. that's the setup. slay πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

so the MICROSOFT_EXECUTABLE rule? it's out here doing a vibe check on your mail, and it's looking for 3 possibilities in the message β€” specifically in any application/* or text/* part of the message. three little red flags, three chances to catch something sus πŸ”₯

here's the breakdown, bestie:

  • in the text parts, it goes looking for a uuencoded executable start string πŸ‘€
  • in the application parts, it's checking for filenames ending in an executable extension πŸ’€
  • and in the application parts again, it hunts for a base64 encoded executable start string ✨

three checks, one rule, main character energy fr fr πŸ‘‘


and that's the whole page, angel 🫢 this one came to you from the User Contributed Perl Documentation for Mail::...tiVirus(3pm), running on perl v5.40.1, dated 2026-07-23 β€” go forth and keep your inbox clean, periodt πŸŒΈπŸ’œ

πŸ“¦ where this page comes from