]> git.proxmox.com Git - proxmox-spamassassin.git/blame - sa-updates/23_bayes.cf
buildsys: track debug package
[proxmox-spamassassin.git] / sa-updates / 23_bayes.cf
CommitLineData
b780ea8d
SI
1# SpamAssassin basic config file
2#
3# Please don't modify this file as your changes will be overwritten with
4# the next update. Use /etc/mail/spamassassin/local.cf instead.
5# See 'perldoc Mail::SpamAssassin::Conf' for details.
6#
7# <@LICENSE>
8# Licensed to the Apache Software Foundation (ASF) under one or more
9# contributor license agreements. See the NOTICE file distributed with
10# this work for additional information regarding copyright ownership.
11# The ASF licenses this file to you under the Apache License, Version 2.0
12# (the "License"); you may not use this file except in compliance with
13# the License. You may obtain a copy of the License at:
14#
15# http://www.apache.org/licenses/LICENSE-2.0
16#
17# Unless required by applicable law or agreed to in writing, software
18# distributed under the License is distributed on an "AS IS" BASIS,
19# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20# See the License for the specific language governing permissions and
21# limitations under the License.
22# </@LICENSE>
23#
24###########################################################################
25
cabe596e 26require_version 3.004006
b780ea8d
SI
27
28###########################################################################
29
30ifplugin Mail::SpamAssassin::Plugin::Bayes
31
32body BAYES_00 eval:check_bayes('0.00', '0.01')
33body BAYES_05 eval:check_bayes('0.01', '0.05')
34body BAYES_20 eval:check_bayes('0.05', '0.20')
35body BAYES_40 eval:check_bayes('0.20', '0.40')
36
37# note: tread carefully around 0.5... the Bayesian classifier
38# will use that for anything it's unsure about, or if it's untrained.
39body BAYES_50 eval:check_bayes('0.40', '0.60')
40
41body BAYES_60 eval:check_bayes('0.60', '0.80')
42body BAYES_80 eval:check_bayes('0.80', '0.95')
43body BAYES_95 eval:check_bayes('0.95', '0.99')
44body BAYES_99 eval:check_bayes('0.99', '1.00')
45
46#Additional rule to add more of a score to BAYES_99 FOR 99.9% to 100%
47body BAYES_999 eval:check_bayes('0.999', '1.00')
48
49tflags BAYES_00 nice learn
50tflags BAYES_05 nice learn
51tflags BAYES_20 nice learn
52tflags BAYES_40 nice learn
53tflags BAYES_50 learn
54tflags BAYES_60 learn
55tflags BAYES_80 learn
56tflags BAYES_95 learn
57tflags BAYES_99 learn
58tflags BAYES_999 learn
59
60describe BAYES_00 Bayes spam probability is 0 to 1%
61describe BAYES_05 Bayes spam probability is 1 to 5%
62describe BAYES_20 Bayes spam probability is 5 to 20%
63describe BAYES_40 Bayes spam probability is 20 to 40%
64describe BAYES_50 Bayes spam probability is 40 to 60%
65describe BAYES_60 Bayes spam probability is 60 to 80%
66describe BAYES_80 Bayes spam probability is 80 to 95%
67describe BAYES_95 Bayes spam probability is 95 to 99%
68describe BAYES_99 Bayes spam probability is 99 to 100%
69describe BAYES_999 Bayes spam probability is 99.9 to 100%
70
71priority BAYES_00 -90
72priority BAYES_05 -90
73priority BAYES_20 -90
74priority BAYES_40 -90
75priority BAYES_50 -90
76priority BAYES_60 -90
77priority BAYES_80 -90
78priority BAYES_95 -90
79priority BAYES_99 -90
80priority BAYES_99 -90
81priority BAYES_999 -90
82
83endif