~ubuntu-branches/ubuntu/lucid/spamassassin/lucid-proposed

« back to all changes in this revision

Viewing changes to rules/60_whitelist_dkim.cf

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville, Ubuntu Merge-o-Matic, Laurent Bigonville
  • Date: 2006-07-31 15:40:08 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060731154008-j37ulp5pgfkddegw
Tags: 3.1.3-1ubuntu1
[ Ubuntu Merge-o-Matic ]
* Merge from debian unstable.

[ Laurent Bigonville ]
* fix debian/control.
* drop debian/patches/40_fix_dns_issue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# SpamAssassin rules file: default DKIM whitelists
 
2
#
 
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.
 
6
#
 
7
# <@LICENSE>
 
8
# Copyright 2004 Apache Software Foundation
 
9
 
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
 
13
 
14
#     http://www.apache.org/licenses/LICENSE-2.0
 
15
 
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.
 
21
# </@LICENSE>
 
22
 
 
23
###########################################################################
 
24
# DKIM whitelist rules
 
25
 
 
26
ifplugin Mail::SpamAssassin::Plugin::DKIM
 
27
 
 
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
 
31
 
 
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
 
35
 
 
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
 
39
 
 
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.
 
45
#
 
46
# Whitelist and blacklist addresses are now file-glob-style patterns, so
 
47
# "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work.
 
48
#
 
49
# Please do not add unmoderated public mailing lists here.  They are
 
50
# too easily abused by spammers.
 
51
 
 
52
 
 
53
# add whitelisted by default domains using DKIM here
 
54
 
 
55
 
 
56
endif # Mail::SpamAssassin::Plugin::DKIM