Mail::SpamAssassin::Plugin::AutoLearnThreshold(3pm) | User Contributed Perl Documentation | Mail::SpamAssassin::Plugin::AutoLearnThreshold(3pm) |
Mail::SpamAssassin::Plugin::AutoLearnThreshold - threshold-based discriminator for Bayes auto-learning
loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
This plugin implements the threshold-based auto-learning discriminator for SpamAssassin's Bayes subsystem. Auto-learning is a mechanism whereby high-scoring mails (or low-scoring mails, for non-spam) are fed into its learning systems without user intervention, during scanning.
Note that certain tests are ignored when determining whether a message should be trained upon:
Also note that auto-learning occurs using scores from either scoreset 0 or 1, depending on what scoreset is used during message check. It is likely that the message check and auto-learn scores will be different.
The following configuration settings are used to control auto-learning:
Note: SpamAssassin requires at least 3 points from the header, and 3 points from the body to auto-learn as spam. Therefore, the minimum working value for this option is 6.
If test option "autolearn_header" or "autolearn_body" is set, points from that rule are forced to count as coming from header or body accordingly. This can be useful for adjusting some meta rules.
If the test option "autolearn_force" is set, the minimum value will remain at 6 points but there is no requirement that the points come from body and header rules. This option is useful for autolearning with rules that are considered to be extremely safe indicators of the spaminess of a message.
With "bayes_auto_learn_on_error" turned on, autolearning will be performed only when a bayes classifier had a different opinion from what the autolearner is now trying to teach it (i.e. it made an error in judgement). This strategy may or may not produce better future classifications, but usually works very well, while also preventing unnecessary overlearning and slows down database growth.
2024-04-12 | perl v5.38.2 |