summaryrefslogtreecommitdiff
path: root/spamassassin/local.cf
blob: b6b9af034770e561b7e9864b6e5be58a836b6312 (plain)
  1. # This is the right place to customize your installation of SpamAssassin.
  2. #
  3. # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
  4. # tweaked.
  5. #
  6. # Only a small subset of options are listed below
  7. #
  8. ###########################################################################
  9. # Add *****SPAM***** to the Subject header of spam e-mails
  10. #
  11. # rewrite_header Subject *****SPAM*****
  12. # Save spam messages as a message/rfc822 MIME attachment instead of
  13. # modifying the original message (0: off, 2: use text/plain instead)
  14. #
  15. # report_safe 1
  16. # Set which networks or hosts are considered 'trusted' by your mail
  17. # server (i.e. not spammers)
  18. #
  19. # trusted_networks 212.17.35.
  20. # Set file-locking method (flock is not safe over NFS, but is faster)
  21. #
  22. # lock_method flock
  23. # Set the threshold at which a message is considered spam (default: 5.0)
  24. #
  25. required_score 3.0
  26. # Use Bayesian classifier (default: 1)
  27. #
  28. # use_bayes 1
  29. # Bayesian classifier auto-learning (default: 1)
  30. #
  31. # bayes_auto_learn 1
  32. # Set headers which may provide inappropriate cues to the Bayesian
  33. # classifier
  34. #
  35. # bayes_ignore_header X-Bogosity
  36. # bayes_ignore_header X-Spam-Flag
  37. # bayes_ignore_header X-Spam-Status
  38. # Some shortcircuiting, if the plugin is enabled
  39. #
  40. ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
  41. #
  42. # default: strongly-whitelisted mails are *really* whitelisted now, if the
  43. # shortcircuiting plugin is active, causing early exit to save CPU load.
  44. # Uncomment to turn this on
  45. #
  46. # shortcircuit USER_IN_WHITELIST on
  47. # shortcircuit USER_IN_DEF_WHITELIST on
  48. # shortcircuit USER_IN_ALL_SPAM_TO on
  49. # shortcircuit SUBJECT_IN_WHITELIST on
  50. # the opposite; blacklisted mails can also save CPU
  51. #
  52. # shortcircuit USER_IN_BLACKLIST on
  53. # shortcircuit USER_IN_BLACKLIST_TO on
  54. # shortcircuit SUBJECT_IN_BLACKLIST on
  55. # if you have taken the time to correctly specify your "trusted_networks",
  56. # this is another good way to save CPU
  57. #
  58. # shortcircuit ALL_TRUSTED on
  59. # and a well-trained bayes DB can save running rules, too
  60. #
  61. # shortcircuit BAYES_99 spam
  62. # shortcircuit BAYES_00 ham
  63. endif # Mail::SpamAssassin::Plugin::Shortcircuit
  64. use_bayes 0
  65. dns_query_restriction deny barracudacentral.org