1 # SpamAssassin rules file: Base __HAS_* rules for meta rules
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 # PLEASE KEEP THIS TIDY
28 # According to Bug 6781
33 header __HAS_SENDER exists:Sender
35 header __HAS_FROM exists:From
37 header __HAS_TO exists:To
39 header __HAS_CC exists:CC
41 header __HAS_REPLY_TO exists:Reply-To
43 header __HAS_ORGANIZATION exists:Organization
48 header __HAS_UA exists:User-Agent
49 header __HAS_XMAIL exists:X-Mailer
53 header __HAS_DKIM_SIGHD exists:DKIM-Signature
55 header __HAS_TNEF exists:X-MS-TNEF-Correlator
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
75 # should be encapsulated in if ... endif
77 ifplugin Mail::SpamAssassin::Plugin::MIMEHeader