Advertisement
Guest User

local.cf

a guest
Feb 22nd, 2014
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. # This is the right place to customize your installation of SpamAssassin.
  2. #
  3. # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
  4. # tweaked.
  5. #
  6. # Only a small subset of options are listed below
  7. #
  8. ###########################################################################
  9.  
  10. # description available on https://laclaro.wordpress.com
  11.  
  12. # LOCAL CHECKS
  13.  
  14. # Enable the Bayes system
  15. use_bayes 1
  16. use_bayes_rules 1
  17. # Enable all network checks
  18. skip_rbl_checks 0
  19. # Mail using languages used in these country codes will not be marked
  20. # as being possibly spam in a foreign language.
  21. # - danish english norwegian swedish
  22. ok_languages de en
  23. # Mail using locales used in these country codes will not be marked
  24. # as being possibly spam in a foreign language.
  25. ok_locales en
  26. # Use a sensible bayes path
  27. bayes_path /var/amavis/lib/.spamassassin/bayes
  28. bayes_file_mode 0770
  29. bayes_auto_learn 0
  30. # ignore headers, that are added by our system
  31. bayes_ignore_header X-Sieve
  32. bayes_ignore_header X-Virus-Scanned
  33. bayes_ignore_header X-Spam-Flag
  34. bayes_ignore_header X-Spam-Score
  35. bayes_ignore_header X-Spam-Level
  36. bayes_ignore_header X-Spam-Status
  37. bayes_ignore_header Authentication-Results
  38. # score for bayes-filter
  39. score BAYES_99 6.308
  40.  
  41.  
  42. # NETWORK CHECKS
  43.  
  44. # Enable DCC-Checksum checking system
  45. # This provides network-checks to identify mass e-mail
  46. # http://www200.pair.com/mecham/spam/spamfilter20060630.html#installdcc
  47. use_dcc 1
  48. #dcc_add_header 1
  49. #dcc_path /var/lib/amavis/.spamassassin/dcc
  50. score DCC_CHECK 4.500
  51. # Use pyzor
  52. use_pyzor 1
  53. score PYZOR_CHECK 4.500
  54. # Use razor
  55. use_razor2 1
  56. razor_timeout 10
  57. score RAZOR2_CHECK 4.500
  58.  
  59. # Spamassassin for Roundcubemail
  60. # http://www.tehinterweb.co.uk/roundcube/#pisauserprefs
  61. user_scores_dsn DBI:mysql:ROUNDCUBEMAILDBNAME:localhost:3306
  62. user_scores_sql_password ROUNCUBEMAILPASSWORD
  63. user_scores_sql_username ROUNDCUBEMAILDBUSERNAME
  64. user_scores_sql_custom_query SELECT preference, value FROM _TABLE_ WHERE username = _USERNAME_ OR
  65. username = '$GLOBAL' OR username = CONCAT('%',_DOMAIN_) ORDER BY username ASC
  66.  
  67.  
  68. ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
  69. # ...
  70. endif # Mail::SpamAssassin::Plugin::Shortcircuit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement