~ubuntu-branches/ubuntu/utopic/spamassassin/utopic-proposed

« back to all changes in this revision

Viewing changes to pkgrules/20_compensate.cf

  • Committer: Bazaar Package Importer
  • Author(s): Noah Meyerhans
  • Date: 2010-01-26 22:53:12 UTC
  • mfrom: (1.1.13 upstream) (5.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100126225312-wkftb10idc1kz2aq
Tags: 3.3.0-1
* New upstream version.
* Switch to dpkg-source 3.0 (quilt) format

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# SpamAssassin rules file: compensation for common false positives
 
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
# Header compensation tests
 
26
 
 
27
require_version @@VERSION@@
 
28
 
 
29
header __HAS_RCVD       exists:Received
 
30
meta NO_RECEIVED        (!__HAS_RCVD)
 
31
tflags NO_RECEIVED      nice userconf
 
32
describe NO_RECEIVED    Informational: message has no Received headers
 
33
 
 
34
###########################################################################
 
35
 
 
36
ifplugin Mail::SpamAssassin::Plugin::RelayEval
 
37
 
 
38
# The message was never sent via an untrustworthy host.
 
39
header ALL_TRUSTED      eval:check_all_trusted()
 
40
describe ALL_TRUSTED    Passed through trusted hosts only via SMTP
 
41
tflags ALL_TRUSTED      nice userconf
 
42
 
 
43
header NO_RELAYS        eval:check_no_relays()
 
44
tflags NO_RELAYS        nice userconf
 
45
describe NO_RELAYS      Informational: message was not relayed via SMTP
 
46
 
 
47
endif