]> Sergey Matveev's repositories - public-inbox.git/blobdiff - sa_config/user/.spamassassin/user_prefs
doc: sync ~/.spamassassin/user_prefs with my prod machine
[public-inbox.git] / sa_config / user / .spamassassin / user_prefs
index 9919b98ebf70a3402c01772482cff3b2fbf9a5de..70e129111f6db7962a5f8dce8ef4260b0cb231f7 100644 (file)
@@ -1,5 +1,5 @@
 # raise or lower as needed
-required_score 5.0
+required_score 3.0
 
 # do not mess with the original message body, only notify in headers
 clear_report_template
@@ -24,3 +24,44 @@ ok_languages en
 # dns_available no
 # skip_rbl_checks 1
 # skip_uribl_checks 1
+
+# manual rules (some stolen from debian)
+# these require "allow_user_rules 1" in the system-wide config
+
+rawbody  LOCAL_VIEWINBROWSER /View this message in a browser/
+describe LOCAL_VIEWINBROWSER "HTML mail not welcome"
+score    LOCAL_VIEWINBROWSER 2.8
+
+body MEETUPSECURELY /meetupsecurely\.com/i
+describe MEETUPSECURELY "site used by spammers"
+score MEETUPSECURELY 2.8
+
+body HELLOMYDEAR /hello my dear/i
+describe HELLOMYDEAR "spam phrase"
+score HELLOMYDEAR 2.8
+
+body JUSTAMAILBOX /I'm just a mailbox used for sending notifications/
+describe JUSTAMAILBOX "autoreply phrase"
+score JUSTAMAILBOX 5.0
+
+# no delivery
+header PI_DNOT subject =~ /delivery\s+(?:status\s+)?notification/i
+describe PI_DNOT "delivery notification"
+score PI_DNOT 3
+
+# notice to appear
+header PI_DNOTICE subject =~ /notice to appear/i
+describe PI_DNOTICE "notice to appear"
+score PI_DNOTICE 3
+
+full ZIPFILE            /\b(?:file)?name\=.*\.zip\b/i
+describe ZIPFILE        zipfile attachment
+score ZIPFILE           0.5
+
+score BAYES_999 3
+score BAYES_05 -1.5
+score BAYES_00 -15
+
+# trust paid whitelist services? never
+score RCVD_IN_RP_SAFE 0.0
+score RCVD_IN_RP_CERTIFIED 0.0