summaryrefslogtreecommitdiff
path: root/spamassassin/local.cf.diff
blob: 2c236b709798d489a2f5430a0df9be9a19b3b860 (plain)
  1. --- local.cf.orig 2016-10-24 21:29:10.000000000 +0200
  2. +++ local.cf 2016-10-25 18:43:20.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 127.0.0.1 188.183.5.254/32
  14. +trusted_networks 127.0.0.1 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. @@ -87,3 +89,12 @@
  30. # shortcircuit BAYES_00 ham
  31. endif # Mail::SpamAssassin::Plugin::Shortcircuit
  32. +
  33. +# Avoid bayesian filter (requires continuous training)
  34. +use_bayes 0
  35. +
  36. +# Treat non-Western charsets as suspicious
  37. +ok_locales en
  38. +
  39. +# Avoid BarracudaCentral (too aggressive)
  40. +dns_query_restriction deny barracudacentral.org