1Mail::SpamAssassin::PluUgsienr::CBoanytersi(b3u)ted PerlMaDiolc:u:mSepnatmaAtsisoanssin::Plugin::Bayes(3)
2
3
4
6 Mail::SpamAssassin::Plugin::Bayes - determine spammishness using a
7 Bayesian classifier
8
10 This is a Bayesian-style probabilistic classifier, using an algorithm
11 based on the one detailed in Paul Graham's A Plan For Spam paper at:
12
13 http://www.paulgraham.com/spam.html
14
15 It also incorporates some other aspects taken from Graham Robinson's
16 webpage on the subject at:
17
18 http://radio.weblogs.com/0101454/stories/2002/09/16/spamDetection.html
19
20 And the chi-square probability combiner as described here:
21
22 http://www.linuxjournal.com/print.php?sid=6467
23
24 The results are incorporated into SpamAssassin as the BAYES_* rules.
25
27 bayes_stopword_languages lang (default: en)
28 Languages enabled in bayes stopwords processing, every language
29 have a default stopwords regexp, tokens matching this regular
30 expression will not be considered in bayes processing.
31
32 Custom regular expressions for additional languages can be defined
33 in "local.cf".
34
35 Custom regular expressions can be specified by using the
36 "bayes_stopword_lang" keyword like in the following example:
37
38 bayes_stopword_languages en se
39 bayes_stopword_en (?:you|me)
40 bayes_stopword_se (?:du|mig)
41
42 Regexps are case-insensitive will be anchored automatically at
43 beginning and end.
44
45 To disable stopwords usage, specify "bayes_stopword_languages
46 disable".
47
48 Only one bayes_stopword_languages or bayes_stopword_xx
49 configuration line can be used. New configuration line will
50 override the old one, for example the ones from SpamAssassin
51 default ruleset (60_bayes_stopwords.cf).
52
53 bayes_max_token_length (default: 15)
54 Configure the maximum number of character a token could contain
55
56
57
58perl v5.36.0 2023-01-2M1ail::SpamAssassin::Plugin::Bayes(3)