Mail::...::Reuse(3pm)
β¨ Mail::SpamAssassin::Plugin::Reuse β¨
okay bestie, we're diving into Mail::SpamAssassin::Plugin::Reuse, part of the User Contributed Perl Documentation situation, and it's honestly giving "quiet plugin that does one job flawlessly" π
πΈ NAME πΈ
Mail::SpamAssassin::Plugin::Reuse β for reusing old rule hits during a mass-check π
π¦ SYNOPSIS π¦
loadplugin Mail::SpamAssassin::Plugin::Reuse
ifplugin Mail::SpamAssassin::Plugin::Reuse
reuse NETWORK_RULE [ NETWORK_RULE_OLD_NAME ]
run_reuse_tests_only 0/1
endif
π DESCRIPTION π
So the whole point of this plugin, no cap, is that it works in conjunction with mass-check --reuse to map the rules that got hit in your input messages over to the rule hits in your mass-check output. That's it. That's the mission. It's matching up vibes across two worlds and it's iconic for it β¨
π run_reuse_tests_only π
Now this one is the main character, lowkey. run_reuse_tests_only 1 is a special option meant for spamassassin and spamd use. Here's the tea:
- Only the tests that got flagged for reuse will actually run π§
- It will also _enable_ network/DNS lookups π (yes, really, underline-enable, that's not a typo, that's the energy)
- It's mainly intended for fast mass processing of corpus messages, so they can be properly reused later π
fr fr, here's what that looks like in the wild:
spamd --pre="loadmodule Mail::SpamAssassin::Plugin::Reuse" \
--pre="run_reuse_tests_only 1" ...
And likeβ¦ a dedicated spamd set up exactly like this could totally be scripted to slap an X-Spam-Status header onto messages super efficiently. Efficiency queen behavior π
π and that's the whole page π
okay periodt, that's everything β no filler, no skipped sections, just the good stuff. This page came from the User Contributed Perl Documentation for perl v5.40.1, dated 2026-07-23, and yeah, that's the sign-off π«Ά go forth and reuse those rule hits bestie π
π¦ where this page comes from
- ubuntu stonking: spamassassin 4.0.2+svn1935691-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms