diff options
author | Eric Wong <e@80x24.org> | 2014-04-26 07:42:25 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-26 07:42:25 +0000 |
commit | 095880dfd8a5df380c5a5ce155c779a22a9765dc (patch) | |
tree | 2ca2d51e5ff89084a973a3ec53d4ac212a71fcc0 /sa_config/user/.spamassassin | |
parent | d713c17e29976cdb038ad0fa30b229674738abc8 (diff) | |
download | public-inbox-095880dfd8a5df380c5a5ce155c779a22a9765dc.tar.gz |
While we're at it, add a script for easy editing of user prefs. We need some human-maintained rules based on the spam we get. It's an imperfect world, but I'd _much_ rather deal with the occassional spam than require signup/registration to post.
Diffstat (limited to 'sa_config/user/.spamassassin')
-rw-r--r-- | sa_config/user/.spamassassin/user_prefs | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/sa_config/user/.spamassassin/user_prefs b/sa_config/user/.spamassassin/user_prefs index 9919b98e..b9a8da45 100644 --- a/sa_config/user/.spamassassin/user_prefs +++ b/sa_config/user/.spamassassin/user_prefs @@ -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 @@ -15,12 +15,25 @@ 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 # 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 + +# we hate HTML mail +score MIME_HTML_MOSTLY 2.0 |