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.

snf4sa.cf 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #
  2. # SpamAssassin SNF4SA Plugin for SNFServer configuration.
  3. #
  4. # Copyright (C) 2009 ARM Research Labs, LLC.
  5. #
  6. # snf4sa.cf
  7. #
  8. #snf4sa.cf
  9. # Name of plugin.
  10. loadplugin Snf4sa snf4sa.pm
  11. ####################################################################
  12. # Modify the following to suit your installation.
  13. ####################################################################
  14. describe SNF4SA Message Sniffer
  15. # Default configuration.
  16. GBUdb_max_weight 3.0
  17. snf_result 1 sa_score -5.0 short_circuit_no
  18. snf_result 20 sa_score 6.0 short_circuit_yes
  19. snf_result 40 sa_score 2.5 short_circuit_no
  20. snf_result 47-62 sa_score 4.0 short_circuit_no
  21. snf_result 63 sa_score 3.5 short_circuit_no
  22. #
  23. # This plugin is not able to report dynamic scores to SpamAssassin
  24. # with a version earlier than 3.2.0. In this case, instead of
  25. # reporting a dynamic score, a static score is reported if the plugin
  26. # score is above a threshold. The static score is specified by the
  27. # score configuration line.
  28. #
  29. # If you have a SpamAssassin version earlier than 3.2.0, the following
  30. # two lines to specify the plugin score threshold (default is 2.5),
  31. # and also the static score to add in the case that the plugin score
  32. # is equal to or above the threshold. If the SpamAssassin version is
  33. # 3.2.0 or later, these two lines are ignored.
  34. #
  35. pre_3.2_plugin_score_threshold 2.5
  36. score SNF4SA 5.0
  37. ####################################################################
  38. # Do not modify anything below this line.
  39. ####################################################################
  40. # Name of rule.
  41. full SNF4SA eval:snf4sa_sacheck()
  42. # Header line containing the results from SNFServer.
  43. add_header all SNF-Result _SNFRESULTTAG_
  44. add_header all MessageSniffer-Scan-Result _SNFMESSAGESNIFFERSCANRESULT_
  45. add_header all MessageSniffer-Rules _SNFMESSAGESNIFFERRULES_
  46. add_header all GBUdb-Analysis _SNFGBUDBANALYSIS_