about summary refs log tree commit homepage
path: root/sa_config
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-16 02:31:04 +0000
committerEric Wong <e@80x24.org>2016-05-16 02:31:40 +0000
commit56008dad820a47fe70d2d69a51248ff1b87beabf (patch)
tree0fd037324711436a4abec9a4212614502c09005c /sa_config
parent1269631ae596b910b7c26890c3efa9f85301a89b (diff)
downloadpublic-inbox-56008dad820a47fe70d2d69a51248ff1b87beabf.tar.gz
This is what I'm running on public-inbox.org as of today.
Diffstat (limited to 'sa_config')
-rw-r--r--sa_config/user/.spamassassin/user_prefs24
1 files changed, 21 insertions, 3 deletions
diff --git a/sa_config/user/.spamassassin/user_prefs b/sa_config/user/.spamassassin/user_prefs
index 3a4a50fb..70e12911 100644
--- a/sa_config/user/.spamassassin/user_prefs
+++ b/sa_config/user/.spamassassin/user_prefs
@@ -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