]>
Commit | Line | Data |
---|---|---|
1 | # SpamAssassin rules file: default SPF whitelists | |
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 | # SPF whitelist rules | |
26 | ||
27 | ifplugin Mail::SpamAssassin::Plugin::SPF | |
28 | ||
29 | header USER_IN_SPF_WHITELIST eval:check_for_spf_whitelist_from() | |
30 | describe USER_IN_SPF_WHITELIST From: address is in the user's SPF whitelist | |
31 | tflags USER_IN_SPF_WHITELIST userconf nice noautolearn net | |
32 | reuse USER_IN_SPF_WHITELIST | |
33 | ||
34 | header USER_IN_DEF_SPF_WL eval:check_for_def_spf_whitelist_from() | |
35 | describe USER_IN_DEF_SPF_WL From: address is in the default SPF white-list | |
36 | tflags USER_IN_DEF_SPF_WL userconf nice noautolearn net | |
37 | reuse USER_IN_DEF_SPF_WL | |
38 | ||
39 | meta ENV_AND_HDR_SPF_MATCH (USER_IN_DEF_SPF_WL && __ENV_AND_HDR_FROM_MATCH) | |
40 | describe ENV_AND_HDR_SPF_MATCH Env and Hdr From used in default SPF WL Match | |
41 | tflags ENV_AND_HDR_SPF_MATCH userconf nice noautolearn net | |
42 | ||
43 | ########################################################################### | |
44 | # Default whitelists. These should be addresses which send mail that is often | |
45 | # tagged (incorrectly) as spam; it also helps that they be addresses of big | |
46 | # companies with lots of lawyers, so if spammers impersonate them, they'll get | |
47 | # into big trouble, so it doesn't provide a shortcut around SpamAssassin. | |
48 | # | |
49 | # Whitelist and blacklist addresses are now file-glob-style patterns, so | |
50 | # "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work. | |
51 | # | |
52 | # Please do not add unmoderated public mailing lists here. They are | |
53 | # too easily abused by spammers. | |
54 | ||
55 | def_whitelist_from_spf *@nytimes.com | |
56 | def_whitelist_from_spf *@amazon.com | |
57 | def_whitelist_from_spf *@amazon.co.uk | |
58 | def_whitelist_from_spf *@*.amazon.co.uk | |
59 | def_whitelist_from_spf *@ora.com | |
60 | def_whitelist_from_spf *@*.ora.com | |
61 | def_whitelist_from_spf *@mypoints.com | |
62 | def_whitelist_from_spf *@*.mypoints.com | |
63 | def_whitelist_from_spf *@paypal.com | |
64 | def_whitelist_from_spf *@ebay.com | |
65 | def_whitelist_from_spf *@foolsubs.com | |
66 | def_whitelist_from_spf *@match.com | |
67 | ||
68 | # bugtraq: can contain malicious Javascript etc. | |
69 | def_whitelist_from_spf *@securityfocus.com | |
70 | ||
71 | def_whitelist_from_spf *@mediaunspun.imakenews.net | |
72 | ||
73 | # sender of Cringley newsletter | |
74 | def_whitelist_from_spf *@bdcimail.com | |
75 | ||
76 | # Silicon.com newslettters - we see thousands of these | |
77 | def_whitelist_from_spf *@silicon.com | |
78 | ||
79 | # C|Net news.com newsletters | |
80 | def_whitelist_from_spf *@newsletter.online.com | |
81 | ||
82 | # bug 1348 | |
83 | def_whitelist_from_spf *@enews.buy.com | |
84 | def_whitelist_from_spf *@palm.m0.net | |
85 | def_whitelist_from_spf *@handspring.4at1.com | |
86 | ||
87 | endif # Mail::SpamAssassin::Plugin::SPF |