1 # SpamAssassin basic config file
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.
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:
15 # http://www.apache.org/licenses/LICENSE-2.0
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.
24 ###########################################################################
26 require_version 3.004006
28 ###########################################################################
30 ifplugin Mail::SpamAssassin::Plugin::Bayes
32 body BAYES_00 eval:check_bayes('0.00', '0.01')
33 body BAYES_05 eval:check_bayes('0.01', '0.05')
34 body BAYES_20 eval:check_bayes('0.05', '0.20')
35 body BAYES_40 eval:check_bayes('0.20', '0.40')
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.
39 body BAYES_50 eval:check_bayes('0.40', '0.60')
41 body BAYES_60 eval:check_bayes('0.60', '0.80')
42 body BAYES_80 eval:check_bayes('0.80', '0.95')
43 body BAYES_95 eval:check_bayes('0.95', '0.99')
44 body BAYES_99 eval:check_bayes('0.99', '1.00')
46 #Additional rule to add more of a score to BAYES_99 FOR 99.9% to 100%
47 body BAYES_999 eval:check_bayes('0.999', '1.00')
49 tflags BAYES_00 nice learn
50 tflags BAYES_05 nice learn
51 tflags BAYES_20 nice learn
52 tflags BAYES_40 nice learn
58 tflags BAYES_999 learn
60 describe BAYES_00 Bayes spam probability is 0 to 1%
61 describe BAYES_05 Bayes spam probability is 1 to 5%
62 describe BAYES_20 Bayes spam probability is 5 to 20%
63 describe BAYES_40 Bayes spam probability is 20 to 40%
64 describe BAYES_50 Bayes spam probability is 40 to 60%
65 describe BAYES_60 Bayes spam probability is 60 to 80%
66 describe BAYES_80 Bayes spam probability is 80 to 95%
67 describe BAYES_95 Bayes spam probability is 95 to 99%
68 describe BAYES_99 Bayes spam probability is 99 to 100%
69 describe BAYES_999 Bayes spam probability is 99.9 to 100%
81 priority BAYES_999 -90