~ubuntu-branches/ubuntu/utopic/spamassassin/utopic-updates

« back to all changes in this revision

Viewing changes to pkgrules/10_hasbase.cf

  • Committer: Package Import Robot
  • Author(s): Noah Meyerhans
  • Date: 2014-02-14 22:45:15 UTC
  • mfrom: (0.8.1) (0.6.2) (5.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20140214224515-z1es2twos8xh7n2y
Tags: 3.4.0-1
* New upstream version! (Closes: 738963, 738872, 738867)
* Scrub the environment when switching to the debian-spamd user in
  postinst and cron.daily. (Closes: 738951)
* Enhancements to postinst to better manage ownership of
  /var/lib/spamassassin, via Iain Lane <iain.lane@canonical.com>
  (Closes: 738974)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# SpamAssassin rules file: Base __HAS_* rules for meta rules
 
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
# 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
 
 
26
# According to Bug 6781
 
27
 
 
28
# Header rules
 
29
 
 
30
 
 
31
header   __HAS_SENDER           exists:Sender
 
32
 
 
33
header  __HAS_FROM              exists:From
 
34
 
 
35
header  __HAS_TO                exists:To
 
36
 
 
37
header  __HAS_CC                exists:CC
 
38
 
 
39
header  __HAS_REPLY_TO          exists:Reply-To
 
40
 
 
41
header  __HAS_ORGANIZATION      exists:Organization
 
42
 
 
43
# Webmail
 
44
 
 
45
# MUA & User Agents
 
46
header  __HAS_UA                exists:User-Agent
 
47
header  __HAS_XMAIL             exists:X-Mailer
 
48
 
 
49
 
 
50
# Other
 
51
header  __HAS_DKIM_SIGHD        exists:DKIM-Signature
 
52
 
 
53
header  __HAS_TNEF              exists:X-MS-TNEF-Correlator
 
54
 
 
55
header  __HAS_ERRORS_TO         exists:Errors-To
 
56
header  __HAS_ORIGINALLY        exists:X-Originally-To
 
57
header  __HAS_LIST_ID           exists:List-Id
 
58
header  __HAS_X_BEEN_THERE      exists:X-BeenThere
 
59
header  __HAS_X_REF             exists:References
 
60
header  __HAS_IN_REPLY_TO       exists:In-Reply-To
 
61
header  __XPRIO                 exists:X-Priority
 
62
header  __DISPONOT              exists:Disposition-Notification-To
 
63
header  __RRCPTO                exists:Return-Receipt-To
 
64
header  __OLDPEG                exists:X-Confirm-Reading-To
 
65
header  __AOL_IP                exists:X-AOL-IP
 
66
 
 
67
 
 
68
# Rawbody rules
 
69
 
 
70
 
 
71
 
 
72
# Mimeheader rules
 
73
# should be encapsulated in if ... endif
 
74
 
 
75
ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
 
76
# Put rules below
 
77
 
 
78
 
 
79
#
 
80
endif
 
81
 
 
82
 
 
83
 
 
84
 
 
85
# URI rules
 
86
 
 
87
uri     __HAS_URI /./