summaryrefslogtreecommitdiff
path: root/spamassassin/local.cf.diff
blob: 4de4c243d9eda8a82ef05a191c5eb6055f8b9438 (plain)
  1. --- local.cf.orig 2016-10-24 21:29:10.000000000 +0200
  2. +++ local.cf 2016-10-25 16:39:01.000000000 +0200
  3. @@ -15,13 +15,14 @@
  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. @@ -55,7 +56,7 @@
  17. # Whether to decode non- UTF-8 and non-ASCII textual parts and recode
  18. # them to UTF-8 before the text is given over to rules processing.
  19. #
  20. -# normalize_charset 1
  21. +normalize_charset 1
  22. # Some shortcircuiting, if the plugin is enabled
  23. #
  24. @@ -87,3 +88,12 @@
  25. # shortcircuit BAYES_00 ham
  26. endif # Mail::SpamAssassin::Plugin::Shortcircuit
  27. +
  28. +# Avoid bayesian filter (requires continuous training)
  29. +use_bayes 0
  30. +
  31. +# Treat non-Western charsets as suspicious
  32. +ok_locales en
  33. +
  34. +# Avoid BarracudaCentral (too aggressive)
  35. +dns_query_restriction deny barracudacentral.org