]>
Commit | Line | Data |
---|---|---|
b780ea8d SI |
1 | # SpamAssassin rules file: Base __HAS_* rules for meta rules |
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 | # PLEASE KEEP THIS TIDY | |
27 | ||
28 | # According to Bug 6781 | |
29 | ||
30 | # Header rules | |
31 | ||
32 | ||
33 | header __HAS_SENDER exists:Sender | |
34 | ||
35 | header __HAS_FROM exists:From | |
36 | ||
37 | header __HAS_TO exists:To | |
38 | ||
39 | header __HAS_CC exists:CC | |
40 | ||
41 | header __HAS_REPLY_TO exists:Reply-To | |
42 | ||
43 | header __HAS_ORGANIZATION exists:Organization | |
44 | ||
45 | # Webmail | |
46 | ||
47 | # MUA & User Agents | |
48 | header __HAS_UA exists:User-Agent | |
49 | header __HAS_XMAIL exists:X-Mailer | |
50 | ||
51 | ||
52 | # Other | |
53 | header __HAS_DKIM_SIGHD exists:DKIM-Signature | |
54 | ||
55 | header __HAS_TNEF exists:X-MS-TNEF-Correlator | |
56 | ||
57 | header __HAS_ERRORS_TO exists:Errors-To | |
58 | header __HAS_ORIGINALLY exists:X-Originally-To | |
59 | header __HAS_LIST_ID exists:List-Id | |
60 | header __HAS_X_BEEN_THERE exists:X-BeenThere | |
61 | header __HAS_X_REF exists:References | |
62 | header __HAS_IN_REPLY_TO exists:In-Reply-To | |
63 | header __XPRIO exists:X-Priority | |
64 | header __DISPONOT exists:Disposition-Notification-To | |
65 | header __RRCPTO exists:Return-Receipt-To | |
66 | header __OLDPEG exists:X-Confirm-Reading-To | |
67 | header __AOL_IP exists:X-AOL-IP | |
68 | ||
69 | ||
70 | # Rawbody rules | |
71 | ||
72 | ||
73 | ||
74 | # Mimeheader rules | |
75 | # should be encapsulated in if ... endif | |
76 | ||
77 | ifplugin Mail::SpamAssassin::Plugin::MIMEHeader | |
78 | # Put rules below | |
79 | ||
80 | ||
81 | # | |
82 | endif | |
83 | ||
84 | ||
85 | ||
86 | ||
87 | # URI rules | |
88 | ||
89 | uri __HAS_URI /./ |