#
# SpamAssassin SNF4SA Plugin for SNFServer configuration.
#
# Copyright (C) 2009 ARM Research Labs, LLC.
#
# snf4sa.cf
#

#snf4sa.cf

# Name of plugin.
loadplugin Snf4sa snf4sa.pm

####################################################################
# Modify the following to suit your installation.
####################################################################

describe SNF4SA Message Sniffer

# Default configuration.
GBUdb_max_weight 3.0
snf_result 1     sa_score -5.0 short_circuit_no
snf_result 20    sa_score 6.0  short_circuit_yes
snf_result 40    sa_score 2.5  short_circuit_no
snf_result 47-62 sa_score 4.0  short_circuit_no
snf_result 63    sa_score 3.5  short_circuit_no

#
# This plugin is not able to report dynamic scores to SpamAssassin
# with a version earlier than 3.2.0.  In this case, instead of
# reporting a dynamic score, a static score is reported if the plugin
# score is above a threshold.  The static score is specified by the
# score configuration line.
#
# If you have a SpamAssassin version earlier than 3.2.0, the following
# two lines to specify the plugin score threshold (default is 2.5),
# and also the static score to add in the case that the plugin score
# is equal to or above the threshold.  If the SpamAssassin version is
# 3.2.0 or later, these two lines are ignored.
#
pre_3.2_plugin_score_threshold 2.5
score SNF4SA 5.0


####################################################################
# Do not modify anything below this line.
####################################################################

# Name of rule.
full SNF4SA eval:snf4sa_sacheck()

# Header line containing the results from SNFServer.
add_header all SNF-Result  _SNFRESULTTAG_
add_header all MessageSniffer-Scan-Result _SNFMESSAGESNIFFERSCANRESULT_
add_header all MessageSniffer-Rules _SNFMESSAGESNIFFERRULES_
add_header all GBUdb-Analysis _SNFGBUDBANALYSIS_
