]>
Commit | Line | Data |
---|---|---|
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 | ||
32 | ifplugin Mail::SpamAssassin::Plugin::DCC | |
33 | ||
34 | full DCC_CHECK eval:check_dcc() | |
35 | describe DCC_CHECK Detected as bulk mail by DCC (dcc-servers.net) | |
36 | tflags DCC_CHECK net | |
37 | priority DCC_CHECK 10 | |
38 | reuse 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 | ||
44 | full DCC_REPUT_00_12 eval:check_dcc_reputation_range(00,12) | |
45 | describe DCC_REPUT_00_12 DCC reputation between 0 and 12 % (mostly ham) | |
46 | tflags DCC_REPUT_00_12 nice net noautolearn | |
47 | priority DCC_REPUT_00_12 10 | |
48 | reuse DCC_REPUT_00_12 | |
49 | ||
50 | full DCC_REPUT_13_19 eval:check_dcc_reputation_range(13,19) | |
51 | describe DCC_REPUT_13_19 DCC reputation between 13 and 19 % | |
52 | tflags DCC_REPUT_13_19 net nice | |
53 | priority DCC_REPUT_13_19 10 | |
54 | reuse DCC_REPUT_13_19 | |
55 | ||
56 | full DCC_REPUT_70_89 eval:check_dcc_reputation_range(70,89) | |
57 | describe DCC_REPUT_70_89 DCC reputation between 70 and 89 % | |
58 | tflags DCC_REPUT_70_89 net | |
59 | priority DCC_REPUT_70_89 10 | |
60 | reuse DCC_REPUT_70_89 | |
61 | ||
62 | full DCC_REPUT_90_94 eval:check_dcc_reputation_range(90,94) | |
63 | describe DCC_REPUT_90_94 DCC reputation between 90 and 94 % | |
64 | tflags DCC_REPUT_90_94 net | |
65 | priority DCC_REPUT_90_94 10 | |
66 | reuse DCC_REPUT_90_94 | |
67 | ||
68 | full DCC_REPUT_95_98 eval:check_dcc_reputation_range(95,98) | |
69 | describe DCC_REPUT_95_98 DCC reputation between 95 and 98 % (mostly spam) | |
70 | tflags DCC_REPUT_95_98 net | |
71 | priority DCC_REPUT_95_98 10 | |
72 | reuse DCC_REPUT_95_98 | |
73 | ||
74 | full DCC_REPUT_99_100 eval:check_dcc_reputation_range(99) | |
75 | describe DCC_REPUT_99_100 DCC reputation between 99 % or higher (spam) | |
76 | tflags DCC_REPUT_99_100 net | |
77 | priority DCC_REPUT_99_100 10 | |
78 | reuse DCC_REPUT_99_100 | |
79 | ||
80 | endif |