Mail::S...Subject(3)

πŸ“¦
version 3.4.6 Β· 3 versions
, in centos-stream 9

πŸ’… NAME πŸ’…

Mail::SpamAssassin::Plugin::WhiteListSubject β€” ngl bestie, this is the SpamAssassin plugin that whitelists (and blacklists!) by the Subject header. Yes, the little Mail::S...Subject(3) you saw up top is just this page's manual name doing its shy little abbreviation thing πŸŽ€


✨ SYNOPSIS ✨

okay so here's the whole vibe, verbatim, do not touch:

loadplugin Mail::SpamAssassin::Plugin::WhiteListSubject

header SUBJECT_IN_WHITELIST eval:check_subject_in_whitelist()
header SUBJECT_IN_BLACKLIST eval:check_subject_in_blacklist()

score SUBJECT_IN_WHITELIST -100
score SUBJECT_IN_BLACKLIST 100

whitelist_subject [Bug *]
blacklist_subject Make Money Fast

like, that's it, that's the whole config. slay 🫢


🌸 DESCRIPTION 🌸

This SpamAssassin plugin module hands you eval tests for whitelisting and blacklisting particular strings in the Subject header. iconic behavior honestly πŸ‘‘

The string will match anywhere in the subject β€” it's not being picky, it's not doing the "starts with" thing, it just finds it. main character energy πŸ’…

The value for whitelist_subject or blacklist_subject is a string, and those strings may contain file -glob -style patterns β€” same deal as the other whitelist_* config options you already know and love. 🌈

heads up bestie 🫢 β€” each subject/string has to be its own separate *_subject command. You can't cram a bunch into one line and hope for the best. And all whitespace is included in the string β€” every space counts, so don't be out here adding pretty formatting and then wondering why nothing matches 😭

πŸŽ€ a lil sign-off πŸŽ€

and that's the page!! written by the Perl docs girlies, shipped as perl v5.32.1, dated 2024-07-12. go forth and filter your mail, bestie β€” periodt πŸ’–πŸ¦‹

πŸ“¦ where this page comes from