]>
Commit | Line | Data |
---|---|---|
b780ea8d SI |
1 | # SpamAssassin rules file: default whitelist/blacklist subject |
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 | # Whitelist/Blacklist rules | |
26 | # | |
27 | # Note that most of these get 'noautolearn'. They should not be | |
28 | # considered when deciding whether to auto-learn a message, as a | |
29 | # user slip-up could result in scribbling side-effects in the bayes | |
30 | # db as a result -- which is hard to remedy. | |
31 | ||
32 | ifplugin Mail::SpamAssassin::Plugin::WhiteListSubject | |
33 | ||
34 | header SUBJECT_IN_WHITELIST eval:check_subject_in_whitelist() | |
35 | describe SUBJECT_IN_WHITELIST Subject: contains string in the user's white-list | |
36 | tflags SUBJECT_IN_WHITELIST userconf nice noautolearn | |
37 | ||
38 | header SUBJECT_IN_BLACKLIST eval:check_subject_in_blacklist() | |
39 | describe SUBJECT_IN_BLACKLIST Subject: contains string in the user's black-list | |
40 | tflags SUBJECT_IN_BLACKLIST userconf noautolearn | |
41 | ||
42 | endif # Mail::SpamAssassin::Plugin::WhiteListSubject |