]> git.proxmox.com Git - proxmox-spamassassin.git/blame - sa-updates/60_whitelist_spf.cf
buildsys: track debug package
[proxmox-spamassassin.git] / sa-updates / 60_whitelist_spf.cf
CommitLineData
b780ea8d
SI
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
27ifplugin Mail::SpamAssassin::Plugin::SPF
28
29header USER_IN_SPF_WHITELIST eval:check_for_spf_whitelist_from()
30describe USER_IN_SPF_WHITELIST From: address is in the user's SPF whitelist
31tflags USER_IN_SPF_WHITELIST userconf nice noautolearn net
32reuse USER_IN_SPF_WHITELIST
33
34header USER_IN_DEF_SPF_WL eval:check_for_def_spf_whitelist_from()
35describe USER_IN_DEF_SPF_WL From: address is in the default SPF white-list
36tflags USER_IN_DEF_SPF_WL userconf nice noautolearn net
37reuse USER_IN_DEF_SPF_WL
38
39meta ENV_AND_HDR_SPF_MATCH (USER_IN_DEF_SPF_WL && __ENV_AND_HDR_FROM_MATCH)
40describe ENV_AND_HDR_SPF_MATCH Env and Hdr From used in default SPF WL Match
41tflags 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
55def_whitelist_from_spf *@nytimes.com
56def_whitelist_from_spf *@amazon.com
57def_whitelist_from_spf *@amazon.co.uk
58def_whitelist_from_spf *@*.amazon.co.uk
59def_whitelist_from_spf *@ora.com
60def_whitelist_from_spf *@*.ora.com
61def_whitelist_from_spf *@mypoints.com
62def_whitelist_from_spf *@*.mypoints.com
63def_whitelist_from_spf *@paypal.com
64def_whitelist_from_spf *@ebay.com
65def_whitelist_from_spf *@foolsubs.com
66def_whitelist_from_spf *@match.com
67
68# bugtraq: can contain malicious Javascript etc.
69def_whitelist_from_spf *@securityfocus.com
70
71def_whitelist_from_spf *@mediaunspun.imakenews.net
72
73# sender of Cringley newsletter
74def_whitelist_from_spf *@bdcimail.com
75
76# Silicon.com newslettters - we see thousands of these
77def_whitelist_from_spf *@silicon.com
78
79# C|Net news.com newsletters
80def_whitelist_from_spf *@newsletter.online.com
81
82# bug 1348
83def_whitelist_from_spf *@enews.buy.com
84def_whitelist_from_spf *@palm.m0.net
85def_whitelist_from_spf *@handspring.4at1.com
86
87endif # Mail::SpamAssassin::Plugin::SPF