summaryrefslogtreecommitdiff
path: root/spamassassin/local.cf.diff
blob: e9f772d459eada0dfce0a65efc4fb7e9c79ad898 (plain)
  1. --- local.cf.orig 2016-10-24 21:29:10.000000000 +0200
  2. +++ local.cf 2016-10-25 17:52:26.000000000 +0200
  3. @@ -15,18 +15,19 @@
  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 127.0.0.1
  14. +trusted_networks 80.68.88.141/32 217.197.91.142 94.18.231.208/29 146.185.137.224
  15. # Set file-locking method (flock is not safe over NFS, but is faster)
  16. #
  17. -# lock_method flock
  18. +lock_method flock
  19. # Set the threshold at which a message is considered spam (default: 5.0)
  20. @@ -55,7 +56,7 @@
  21. # Whether to decode non- UTF-8 and non-ASCII textual parts and recode
  22. # them to UTF-8 before the text is given over to rules processing.
  23. #
  24. -# normalize_charset 1
  25. +normalize_charset 1
  26. # Some shortcircuiting, if the plugin is enabled
  27. #
  28. @@ -87,3 +88,12 @@
  29. # shortcircuit BAYES_00 ham
  30. endif # Mail::SpamAssassin::Plugin::Shortcircuit
  31. +
  32. +# Avoid bayesian filter (requires continuous training)
  33. +use_bayes 0
  34. +
  35. +# Treat non-Western charsets as suspicious
  36. +ok_locales en
  37. +
  38. +# Avoid BarracudaCentral (too aggressive)
  39. +dns_query_restriction deny barracudacentral.org