Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

README 2.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. SpamAssassin SNF4SA Plugin for SNFServer
  2. README file
  3. Copyright (C) 2009 ARM Research Labs, LLC.
  4. See www.armresearch.com for the copyright terms.
  5. This directory contains the SpamAssassin plugin for SNFServer.
  6. The plugin implements a rule that checks the email message with
  7. SNFServer.
  8. If SNFServer determines that the email message is spam, then the
  9. plugin calculates a plugin score that depends on the SNFServer result.
  10. The plugin score for each SNFServer result is specified in the
  11. configuration file using the "snf_result" configuration line (please
  12. see the INSTALL file for further info).
  13. The GBUdb scan result also changes the plugin score by:
  14. abs(p * c) ^ 0.5 * sign(p) * MaxWeight
  15. where p is the probability and c is the confidence returned by the
  16. GBUdb scan, sign(p) is -1 if p < 0 and +1 otherwise, and MaxWeight is
  17. specified in the configuration file. If SNFServer is not configured
  18. to insert the GBUdb scan results into a header in the message, or
  19. MaxWeight is not specified in the configuration file, then the
  20. plugin score is not affected by the GBUdb scan results.
  21. If SpamAssassin supports dynamic score reporting (SpamAssassin version
  22. 3.2.0 or later), then the plugin score is added to the score of the
  23. message.
  24. If the version of SpamAssassin is earlier than 3.2.0, then the plugin
  25. behavior is different. In this case, if the plugin score is equal to
  26. or above a threshold specified in the configuration file, then a fixed
  27. value specified in the configuration file is added to the score of the
  28. message. If instead the plugin score is below the threshold, then the
  29. score of the message is not changed by this plugin. The fixed value
  30. is specified by the "score" configuration line, and the threshold is
  31. specified by the "pre_3.2_static_sa_score_threshold" configuration
  32. line. Please see the INSTALL file for further info.
  33. In addition to scanning the message, the plugin inserts headers into
  34. the email. The SNFServer must be configured to generate the
  35. X-headers. Please see the SNFServer documention for configuration
  36. instructions. The plugin obtains the headers from SNFServer (using
  37. the XCI interface), and inserts the headers into the email message.
  38. The following headers are inserted by the plugin into the message if
  39. SNFServer is configured to generate them:
  40. 1) 'X-SPAM-MessageSniffer-Scan-Result' contains the body of the
  41. X-MessageSniffer-Scan-Result header inserted by SNFServer.
  42. 2) 'X-SPAM-MessageSniffer-Rules' contains the body of the
  43. X-MessageSniffer-Rules header inserted by SNFServer.
  44. 3) 'X-SPAM-GBUdb-Analysis' contains the body of the X-GBUdb-Analysis
  45. header inserted by SNFServer.
  46. Please see the INSTALL file for installation and configuration.