user_prefs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. # -*- mode: spamassassin -*-
  2. # SpamAssassin user preferences file. See 'man Mail::SpamAssassin::Conf' for
  3. # details of what can be tweaked.
  4. ###########################################################################
  5. # XXX update the date in the version tag whenever you make changes!
  6. # version_tag lists.debian.org-2007-04-23-01
  7. required_hits 4.0
  8. # use_terse_report 0
  9. # check_mx_attempts 2
  10. #rbl_timeout 5
  11. # dns_available yes
  12. skip_rbl_checks 0
  13. dns_available test: gluck.debian.org master.debian.org klecker.debian.org
  14. # use newer score and rules, but don't override our own scores
  15. include /var/list/.spamassassin/newer-rules/50_scores.cf
  16. internal_networks 82.195.75.100/32
  17. trusted_networks 82.195.75.64/26 70.103.162.0/24 192.25.206.10/32
  18. # No unnecessary crap --liiwi 2004-08-29
  19. report_safe 0
  20. # Making this explicit --pasc, 2004-02-22
  21. use_razor2 1
  22. # This should work now -- pasc, 2005-07-19
  23. use_pyzor 1
  24. # testing only --joy, 2003-09-05
  25. # we have non english lists on lists.d.o --rmurray, 2003-12-03
  26. # which is why the scores are divided with a hundred, duh --joy, 2004-05-27
  27. #ok_locales en
  28. # ok_languages en
  29. # good idea, should have been taken further, but preemptively
  30. # commented out by Joy after the 2003-06-27 debacle where the
  31. # 10 MB bayesian database caused spamds to consume gobs of memory
  32. #bayes_expiry_scan_count 20000
  33. # we don't train the Bayesian classifier so don't give it full weight
  34. # cf. bug #188703 --joy, 2003-04-12, 2003-04-28
  35. #
  36. # set more realistic settings, so bayes is not automatic poisoned any more
  37. # -- zobel, 2207-01-13
  38. bayes_auto_learn_threshold_nonspam -4
  39. bayes_auto_learn_threshold_spam 27
  40. subscriber_file /var/list/uniq-subscribers
  41. ################################################################
  42. # SARE-rules (http://www.rulesemporium.com/rules.htm)
  43. ################################################################
  44. #include /var/list/.spamassassin/sare-rules/70_sare_adult.cf
  45. #include /var/list/.spamassassin/sare-rules/70_sare_header0.cf
  46. #include /var/list/.spamassassin/sare-rules/70_sare_header1.cf
  47. #include /var/list/.spamassassin/sare-rules/70_sare_html0.cf
  48. #include /var/list/.spamassassin/sare-rules/70_sare_html1.cf
  49. #include /var/list/.spamassassin/sare-rules/70_sare_oem.cf
  50. #include /var/list/.spamassassin/sare-rules/70_sare_specific.cf
  51. #include /var/list/.spamassassin/sare-rules/70_sare_stocks.cf
  52. #include /var/list/.spamassassin/sare-rules/72_sare_bml_post25x.cf
  53. #include /var/list/.spamassassin/sare-rules/75_black_uri_list.cf
  54. #include /var/list/.spamassassin/sare-rules/99_sare_fraud_post25x.cf
  55. ################################################################
  56. # newer rules which aren't in /usr/share/spamassassin
  57. ################################################################
  58. # these rules are already newer in newer SA
  59. # include /var/list/.spamassassin/newer-rules/20_dnsbl_tests.cf
  60. # include /var/list/.spamassassin/newer-rules/20_head_tests.cf
  61. # include /var/list/.spamassassin/newer-rules/20_ratware.cf
  62. # include /var/list/.spamassassin/newer-rules/20_uri_tests.cf
  63. # include /var/list/.spamassassin/newer-rules/25_uribl.cf
  64. # include /var/list/.spamassassin/newer-rules/60_whitelist_dk.cf
  65. include /var/list/.spamassassin/newer-rules/70_iadb.cf
  66. include /var/list/.spamassassin/newer-rules/80_additional.cf
  67. include common/sare/70_sare_adult.cf
  68. include common/sare/70_sare_header0.cf
  69. include common/sare/70_sare_header1.cf
  70. include common/sare/70_sare_header2.cf
  71. include common/sare/70_sare_header3.cf
  72. include common/sare/70_sare_header.cf
  73. include common/sare/70_sare_header_eng.cf
  74. include common/sare/70_sare_html0.cf
  75. include common/sare/70_sare_html1.cf
  76. include common/sare/70_sare_html2.cf
  77. include common/sare/70_sare_html3.cf
  78. include common/sare/70_sare_html4.cf
  79. include common/sare/70_sare_html.cf
  80. include common/sare/70_sare_oem.cf
  81. include common/sare/70_sare_specific.cf
  82. include common/sare/70_sare_spoof.cf
  83. include common/sare/70_sare_stocks.cf
  84. include common/sare/72_sare_bml_post25x.cf
  85. include common/sare/99_sare_fraud_post25x.cf
  86. # Include common spam stuff
  87. include common/common_spam
  88. include common/list_specific
  89. include common/scores
  90. include common/debian_specific
  91. include common/drug_spam
  92. include common/image_spam
  93. include common/misc_spam
  94. include common/money_spam
  95. include common/phrase_spam
  96. include common/pron_spam
  97. include common/scam_spam
  98. include common/url_spam
  99. include common/virus_spam
  100. header EXINNEN From =~ /schilling\@fokus\.fraunhofer\.de/i
  101. score EXINNEN 2.3
  102. header LDO_WHITELIST eval:check_for_subscriber('/var/list/uniq-subscribers')
  103. describe LDO_WHITELIST Subscribed to the whitelist
  104. score LDO_WHITELIST -5
  105. header XXXPRON subject =~ /\bxxx\b/i
  106. score XXXPRON 8.0
  107. header __MENTORSRFS1 ToCc =~ /debian-mentors\@lists\.debian\.org/
  108. header __MENTORSRFS2 subject =~ /\bRFS\b/
  109. meta MENTORSRFS (__MENTORSRFS1 && __MENTORSRFS2)
  110. describe MENTORSRFS This mail might be a request for sponsorship on mentors
  111. score MENTORSRFS -0.3
  112. header __DEVELITP1 ToCc =~ /debian-devel\@lists\.debian\.org/
  113. header __DEVELITP2 subject =~ /\bITP:\b/
  114. meta DEVELITP (__DEVELITP1 && __DEVELITP2)
  115. describe MENTORSRFS This mail might be an ITP on d-devel
  116. score MENTORSRFS -0.3
  117. header SUBCHANGES subject =~ /Daily un\/subscription report/i
  118. describe SUBCHANGES Subscriber Changes for all lists sent to listmasters
  119. score SUBCHANGES -10