# SpamAssassin rules file: default DK whitelists # # Please don't modify this file as your changes will be overwritten with # the next update. Use @@LOCAL_RULES_DIR@@/local.cf instead. # See 'perldoc Mail::SpamAssassin::Conf' for details. # # <@LICENSE> # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ########################################################################### # DK whitelist rules ifplugin Mail::SpamAssassin::Plugin::DomainKeys header USER_IN_DK_WHITELIST eval:check_for_dk_whitelist_from() describe USER_IN_DK_WHITELIST From: address is in the user's DK whitelist tflags USER_IN_DK_WHITELIST userconf nice noautolearn net header USER_IN_DEF_DK_WL eval:check_for_def_dk_whitelist_from() describe USER_IN_DEF_DK_WL From: address is in the default DK white-list tflags USER_IN_DEF_DK_WL userconf nice noautolearn net meta ENV_AND_HDR_DK_MATCH (USER_IN_DEF_DK_WL && __ENV_AND_HDR_FROM_MATCH) describe ENV_AND_HDR_DK_MATCH Env and Hdr From used in default DK WL Match tflags ENV_AND_HDR_DK_MATCH userconf nice noautolearn net ########################################################################### # Default whitelists. These should be addresses which send mail that is often # tagged (incorrectly) as spam; it also helps that they be addresses of big # companies with lots of lawyers, so if spammers impersonate them, they'll get # into big trouble, so it doesn't provide a shortcut around SpamAssassin. # # Whitelist and blacklist addresses are now file-glob-style patterns, so # "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work. # # Please do not add unmoderated public mailing lists here. They are # too easily abused by spammers. # add whitelisted by default domains using DK here endif # Mail::SpamAssassin::Plugin::DomainKeys