summaryrefslogtreecommitdiff
path: root/spamassassin/local.cf.diff
blob: dfc1a060011b6aca7c18cb84a95f2eddb97bbeda (plain)
  1. --- local.cf.orig 2016-10-24 21:29:10.000000000 +0200
  2. +++ local.cf 2016-10-25 18:48:39.000000000 +0200
  3. @@ -15,18 +15,20 @@
  4.  # Save spam messages as a message/rfc822 MIME attachment instead of
  5. # modifying the original message (0: off, 2: use text/plain instead)
  6. #
  7. -# report_safe 1
  8. +report_safe 0
  9. # Set which networks or hosts are considered 'trusted' by your mail
  10. # server (i.e. not spammers)
  11. #
  12. -# trusted_networks 212.17.35.
  13. +internal_networks 188.183.5.254/32
  14. +trusted_networks 188.183.5.254/32 80.68.88.141/32 217.197.91.142 94.18.231.208/29 146.185.137.224
  15. +whitelist_bounce_relays mail.bitbase.dk mail.free-owl.de mail.homebase.dk mail.copyninja.info
  16. # Set file-locking method (flock is not safe over NFS, but is faster)
  17. #
  18. -# lock_method flock
  19. +lock_method flock
  20. # Set the threshold at which a message is considered spam (default: 5.0)
  21. @@ -55,7 +57,7 @@
  22. # Whether to decode non- UTF-8 and non-ASCII textual parts and recode
  23. # them to UTF-8 before the text is given over to rules processing.
  24. #
  25. -# normalize_charset 1
  26. +normalize_charset 1
  27. # Some shortcircuiting, if the plugin is enabled
  28. #
  29. @@ -79,7 +81,7 @@
  30. # if you have taken the time to correctly specify your "trusted_networks",
  31. # this is another good way to save CPU
  32. #
  33. -# shortcircuit ALL_TRUSTED on
  34. +shortcircuit ALL_TRUSTED on
  35. # and a well-trained bayes DB can save running rules, too
  36. #
  37. @@ -87,3 +89,12 @@
  38. # shortcircuit BAYES_00 ham
  39. endif # Mail::SpamAssassin::Plugin::Shortcircuit
  40. +
  41. +# Avoid bayesian filter (requires continuous training)
  42. +use_learner 0
  43. +
  44. +# Treat non-Western charsets as suspicious
  45. +ok_locales en
  46. +
  47. +# Avoid BarracudaCentral (too aggressive)
  48. +dns_query_restriction deny barracudacentral.org