You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by ji...@jidanni.org on 2008/12/03 20:49:57 UTC

I hate one certain language

Never mind the below, I solved it with
header J_CHSET3 Subject:raw=~/\s=\?(windows-(125[0125]|874)|koi8-r|GB2312|iso-8859-[28])\?/i

The below:
Here we go again.
How can I filter on
X-Spam-Languages: zh.gb2312
run it through spamassassin a second time?
Use _LANGUAGES_ somehow in a regexp?
Of course the LANGUAGE OPTIONS part of the man page just begs the
question of how to mark one as bad, instead of good. But never mind.
That is a never ending argument that I have forgotten.
Note I love other zh.*, just not zh.gb2312.
Hmm, I see I already do
ifplugin Mail::SpamAssassin::Plugin::TextCat
 # ok_languages en zh.big5
 # http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5697
 ok_languages en zh
 add_header all Languages _LANGUAGES_
 score UNWANTED_LANGUAGE_BODY 5
endif
ok_locales en zh

OK, solved as at top. Thanks. Bye.