summaryrefslogtreecommitdiff
path: root/spamassassin/local.cf
blob: 1d65b9eadd9dc46322ff6eab7b10bf3206007724 (plain)
  1. # Add your own customisations to this file. See 'man Mail::SpamAssassin::Conf'
  2. # for details of what can be tweaked.
  3. #
  4. # Revert CHARSET_FARAWAY scores to upsream default
  5. score CHARSET_FARAWAY 0.80
  6. score CHARSET_FARAWAY_BODY 2.06
  7. score CHARSET_FARAWAY_HEADERS 1.00
  8. # Lower Razor score (from 3.0) to let more mailinglist mail through
  9. score RAZOR_CHECK 2.0
  10. # The below was found at http://flakshack.com/anti-spam/wiki/index.php?page=Debian
  11. report_safe 0
  12. use_bayes 1
  13. bayes_path /var/lib/amavis/.spamassassin/bayes_seen
  14. skip_rbl_checks 0
  15. use_razor2 1
  16. use_dcc 1
  17. use_pyzor 1
  18. dns_available yes
  19. header LOCAL_RCVD Received =~ /.*\(\S+\.mydomain\.bogus\s+\[.*\]\)/
  20. describe LOCAL_RCVD Received from local machine
  21. score LOCAL_RCVD -50
  22. ## Optional Score Increases
  23. score DCC_CHECK 4.000
  24. score SPF_FAIL 10.000
  25. score SPF_HELO_FAIL 10.000
  26. score RAZOR2_CHECK 2.500
  27. score BAYES_99 4.300
  28. score BAYES_90 3.500
  29. score BAYES_80 3.000
  30. # Added by jsu2
  31. # refer to http://flakshack.com/anti-spam/wiki/index.php?page=Testing
  32. body LOCAL_TEST1 /myspamtest12341234/
  33. describe LOCAL_TEST1 This is a unique phrase to trigger a positive score
  34. score LOCAL_TEST1 50