]> git.proxmox.com Git - proxmox-spamassassin.git/blame - sa-updates/20_compensate.cf
bump version to 3.4.6-2+1
[proxmox-spamassassin.git] / sa-updates / 20_compensate.cf
CommitLineData
b780ea8d
SI
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 /etc/mail/spamassassin/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
cabe596e 27require_version 3.004006
b780ea8d
SI
28
29header __HAS_RCVD exists:Received
30meta NO_RECEIVED (!__HAS_RCVD)
31tflags NO_RECEIVED nice userconf
32describe NO_RECEIVED Informational: message has no Received headers
33
34###########################################################################
35
36ifplugin Mail::SpamAssassin::Plugin::RelayEval
37
38# The message was never sent via an untrustworthy host.
39header ALL_TRUSTED eval:check_all_trusted()
40describe ALL_TRUSTED Passed through trusted hosts only via SMTP
41tflags ALL_TRUSTED nice userconf
42
43header NO_RELAYS eval:check_no_relays()
44tflags NO_RELAYS nice userconf
45describe NO_RELAYS Informational: message was not relayed via SMTP
46
47endif