From: Eric Wong <e@80x24.org>
Date: Fri, 23 May 2014 09:54:38 +0000 (+0000)
Subject: spamassassin/user_prefs: disable non-English
X-Git-Tag: v1.0.0~1146
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a96c4724da2ad7911b4831b41f8dc14ced9f606b;p=public-inbox.git

spamassassin/user_prefs: disable non-English

Too much spam arrives without any readable English, and I (the
server administrator) cannot easily tell if a non-English
message is spam or not.
---

diff --git a/sa_config/user/.spamassassin/user_prefs b/sa_config/user/.spamassassin/user_prefs
index b9a8da45..028c3124 100644
--- a/sa_config/user/.spamassassin/user_prefs
+++ b/sa_config/user/.spamassassin/user_prefs
@@ -15,6 +15,11 @@ bayes_ignore_header X-Spam-Flag
 bayes_ignore_header X-Spam-Status
 bayes_ignore_header X-Spam-Report
 
+# English-only for all lists on public-inbox.org
+ok_locales en
+# we have "loadplugin Mail::SpamAssassin::Plugin::TextCat" in a *.pre file
+ok_languages en
+
 # uncomment the following for importing archives:
 # dns_available no
 # skip_rbl_checks 1