1
# SpamAssassin rules file: default DKIM whitelists
3
# Please don't modify this file as your changes will be overwritten with
4
# the next update. Use @@LOCAL_RULES_DIR@@/local.cf instead.
5
# See 'perldoc Mail::SpamAssassin::Conf' for details.
8
# Copyright 2004 Apache Software Foundation
10
# Licensed under the Apache License, Version 2.0 (the "License");
11
# you may not use this file except in compliance with the License.
12
# You may obtain a copy of the License at
14
# http://www.apache.org/licenses/LICENSE-2.0
16
# Unless required by applicable law or agreed to in writing, software
17
# distributed under the License is distributed on an "AS IS" BASIS,
18
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
# See the License for the specific language governing permissions and
20
# limitations under the License.
23
###########################################################################
24
# DKIM whitelist rules
26
ifplugin Mail::SpamAssassin::Plugin::DKIM
28
header USER_IN_DKIM_WHITELIST eval:check_for_dkim_whitelist_from()
29
describe USER_IN_DKIM_WHITELIST From: address is in the user's DKIM whitelist
30
tflags USER_IN_DKIM_WHITELIST userconf nice noautolearn net
32
header USER_IN_DEF_DKIM_WL eval:check_for_def_dkim_whitelist_from()
33
describe USER_IN_DEF_DKIM_WL From: address is in the default DKIM white-list
34
tflags USER_IN_DEF_DKIM_WL userconf nice noautolearn net
36
meta ENV_AND_HDR_DKIM_MATCH (USER_IN_DEF_DKIM_WL && __ENV_AND_HDR_FROM_MATCH)
37
describe ENV_AND_HDR_DKIM_MATCH Env and Hdr From used in default DKIM WL Match
38
tflags ENV_AND_HDR_DKIM_MATCH userconf nice noautolearn net
40
###########################################################################
41
# Default whitelists. These should be addresses which send mail that is often
42
# tagged (incorrectly) as spam; it also helps that they be addresses of big
43
# companies with lots of lawyers, so if spammers impersonate them, they'll get
44
# into big trouble, so it doesn't provide a shortcut around SpamAssassin.
46
# Whitelist and blacklist addresses are now file-glob-style patterns, so
47
# "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work.
49
# Please do not add unmoderated public mailing lists here. They are
50
# too easily abused by spammers.
53
# add whitelisted by default domains using DKIM here
56
endif # Mail::SpamAssassin::Plugin::DKIM