# SpamAssassin rules file: compensation for common false positives
#
# Please don't modify this file as your changes will be overwritten with
# the next update. Use /etc/mail/spamassassin/local.cf instead.
# See 'perldoc Mail::SpamAssassin::Conf' for details.
#
# <@LICENSE>
# Copyright 2004 Apache Software Foundation
# 
# Licensed 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.
# </@LICENSE>
#
###########################################################################
# Header compensation tests

require_version 3.000002

# support for Habeas sender-warranted email: http://www.habeas.com/
header __HABEAS_SWE	eval:message_is_habeas_swe()

# example rule
#meta HABEAS_SWE	(__HABEAS_SWE && !RCVD_BY_IP && !RCVD_DOUBLE_IP_LOOSE && !MIME_HTML_ONLY && !MPART_ALT_DIFF && !RCVD_IN_BL_SPAMCOP_NET && !RCVD_IN_DSBL && !RCVD_IN_XBL)
#describe HABEAS_SWE	Has Habeas warrant mark (http://www.habeas.com/)
#tflags HABEAS_SWE	nice

# The message was never sent via an untrustworthy host.
header ALL_TRUSTED      eval:check_all_trusted()
describe ALL_TRUSTED    Did not pass through any untrusted hosts
tflags ALL_TRUSTED      nice

