]> git.proxmox.com Git - proxmox-spamassassin.git/blame - sa-updates/25_dcc.cf
bump version to 3.4.6-2+1
[proxmox-spamassassin.git] / sa-updates / 25_dcc.cf
CommitLineData
b780ea8d
SI
1# SpamAssassin rules file: dcc tests
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
26##
27## SpamAssassin 4.0.0 note:
28## DCC rule priorities are automatically adjusted to -100 when dccifd in use
29## (async lookup)
30##
31
32ifplugin Mail::SpamAssassin::Plugin::DCC
33
34full DCC_CHECK eval:check_dcc()
35describe DCC_CHECK Detected as bulk mail by DCC (dcc-servers.net)
36tflags DCC_CHECK net
37priority DCC_CHECK 10
38reuse DCC_CHECK
39
40
41# to receive reputation data from DCC servers requires a commercial license
42# Update 2019: reputation data is free starting from DCC 2.x version
43
44full DCC_REPUT_00_12 eval:check_dcc_reputation_range(00,12)
45describe DCC_REPUT_00_12 DCC reputation between 0 and 12 % (mostly ham)
46tflags DCC_REPUT_00_12 nice net noautolearn
47priority DCC_REPUT_00_12 10
48reuse DCC_REPUT_00_12
49
50full DCC_REPUT_13_19 eval:check_dcc_reputation_range(13,19)
51describe DCC_REPUT_13_19 DCC reputation between 13 and 19 %
52tflags DCC_REPUT_13_19 net nice
53priority DCC_REPUT_13_19 10
54reuse DCC_REPUT_13_19
55
56full DCC_REPUT_70_89 eval:check_dcc_reputation_range(70,89)
57describe DCC_REPUT_70_89 DCC reputation between 70 and 89 %
58tflags DCC_REPUT_70_89 net
59priority DCC_REPUT_70_89 10
60reuse DCC_REPUT_70_89
61
62full DCC_REPUT_90_94 eval:check_dcc_reputation_range(90,94)
63describe DCC_REPUT_90_94 DCC reputation between 90 and 94 %
64tflags DCC_REPUT_90_94 net
65priority DCC_REPUT_90_94 10
66reuse DCC_REPUT_90_94
67
68full DCC_REPUT_95_98 eval:check_dcc_reputation_range(95,98)
69describe DCC_REPUT_95_98 DCC reputation between 95 and 98 % (mostly spam)
70tflags DCC_REPUT_95_98 net
71priority DCC_REPUT_95_98 10
72reuse DCC_REPUT_95_98
73
74full DCC_REPUT_99_100 eval:check_dcc_reputation_range(99)
75describe DCC_REPUT_99_100 DCC reputation between 99 % or higher (spam)
76tflags DCC_REPUT_99_100 net
77priority DCC_REPUT_99_100 10
78reuse DCC_REPUT_99_100
79
80endif