You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
adeniz 6da4dd0c70 Added configuration for injecting headers, and default mapping from SNFServer code to SA score. hace 15 años
..
INSTALL Add info about testing/debugging the configuration file snf4sa.cf. hace 15 años
README Describe provisional configuration and capabilities of the plugin: Maping from SNFServer result code to SA score, short-circuiting further processing, and effect of GBUdb scan on the SA score. hace 15 años
snf4sa.cf Added configuration for injecting headers, and default mapping from SNFServer code to SA score. hace 15 años
snf4sa.pm Added methods to read the configuration file as specified in INSTALL. Output any configuration error using dbg() in Mail::SpamAssassin::Logger. hace 15 años

README

               SpamAssassin SNF4SA Plugin for SNFServer

README file

Copyright (C) 2009 ARM Research Labs, LLC.

See www.armresearch.com for the copyright terms.

This directory contains the SpamAssassin plugin for SNFServer.

The plugin implements a rule that checks the email message with
SNFServer.

If SNFServer determines that the email message is spam, then
SpamAssassin increments the score by an amount that depends on the
SNFServer result. The amount to add for each SNFServer result is
specified in the configuration file.

The GBUdb scan result also changes the score by:

(p * c) ^ 2 * sign(p) * MaxWeight

where p is the probability and c is the confidence returned by the
GBUdb scan, sign(p) is -1 if p < 0 and +1 otherwise, and MaxWeight is
specified in the configuration file. If SNFServer is not configured
to insert the GBUdb scan results into a header in the message, then
the SpamAssassin score is not affected by the GBUdb scan results.

In addition to scanning the message, the plugin inserts headers into
the email. The SNFServer must be configured to insert the headers
into the email message. The following headers are copied by the
plugin into the message if SNFServer is configured to generate them:

1) 'X-SPAM-MessageSniffer-Scan-Result' contains the body of the
X-MessageSniffer-Scan-Result header inserted by SNFServer.

2) 'X-SPAM-MessageSniffer-Rules' contains the body of the
X-MessageSniffer-Rules header inserted by SNFServer.

3) 'X-SPAM-GBUdb-Analysis' contains the body of the X-GBUdb-Analysis
header inserted by SNFServer.

Please see the INSTALL file for installation and configuration.