]> Sergey Matveev's repositories - public-inbox.git/commitdiff
doc: sync ~/.spamassassin/user_prefs with my prod machine
authorEric Wong <e@80x24.org>
Mon, 16 May 2016 02:31:04 +0000 (02:31 +0000)
committerEric Wong <e@80x24.org>
Mon, 16 May 2016 02:31:40 +0000 (02:31 +0000)
This is what I'm running on public-inbox.org as of today.

sa_config/user/.spamassassin/user_prefs

index 3a4a50fb3407dab0f9d6b6c1c11f976d811543a8..70e129111f6db7962a5f8dce8ef4260b0cb231f7 100644 (file)
@@ -40,9 +40,27 @@ body HELLOMYDEAR /hello my dear/i
 describe HELLOMYDEAR "spam phrase"
 score HELLOMYDEAR 2.8
 
-# we hate HTML mail
-score MIME_HTML_MOSTLY  3.0
-score HTML_MESSAGE 3.0
+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