SA search for Russian words

Paul Douglas Franklin of Yakima UGM pdf at yugm.org
Wed Feb 6 20:34:50 CET 2008


Bingo!
I inserted the line
ok_locales en
into /kolab/etc/spamassassin/local.cf
I saved and restarted amavisd.  I then edited a Russian spam as new and 
sent it to myself.  It did *not* fire CHARSET_FARAWAY.  I checked to see 
whether CHARSET_FARAWAY was valid for our version of Spamassassin.  It 
has been one of the tests since at least 3.0.x.
Note:  I wrote the above yesterday, except that I didn't have the 
"Bingo!" at the beginning.  (I forgot to change the To: from Gunnar to 
the list, so most of you didn't see it.)  Today I am happy to report 
that although I cannot test foreign character set spam messages by 
resending, the CHARSET_FARAWAY is firing for the spam that comes in from 
the outside.  It has caught 67 spams so far.  So I'll be missing every 
opportunity for cheap tickets from Moscow to Egypt.
Thank you, Gunnar.
--Paul

Gunnar Wrobel wrote:
> Paul Franklin <pdf at yugm.org> writes:
>
>   
>> I'm getting some Russian spam.  I'm able to translate it with Google, so 
>> I know that it is Russian.  I thought to make some rules for 
>> SpamAssassin using some of the Russian words, such as Egypt, but when I 
>> looked at one of the e-mails using mc (my editor of choice), I found 
>> that it doesn't render the Russian letters as anything that I can enter 
>> into the local.cf file.  (vi doesn't do any better.)  Does anyone know 
>> of a SA rule that would take care of this?
>>     
>
> what about the "ok_locales" setting for spamassassin? Never used it so
> far and just googled this :) but I'm pretty certain that spamassassin
> can automatically detect the language and give unwanted languages
> higher spam ratings.
>
> Cheers,
>
> Gunnar
>
>   
>> --Paul
>>
>> -- 
>> Paul Douglas Franklin
>> Computer Manager, Union Gospel Mission of Yakima, Washington
>> Husband of Danette
>> Father of Laurene, Miriam, Tycko, Timothy, Sarabeth, Marie, Dawnita, Anna Leah, Alexander, and Caleb
>>
>> _______________________________________________
>> Kolab-users mailing list
>> Kolab-users at kolab.org
>> https://kolab.org/mailman/listinfo/kolab-users
>>     
>
>   

-- 
Paul Douglas Franklin
Computer Manager, Union Gospel Mission of Yakima, Washington
Husband of Danette
Father of Laurene, Miriam, Tycko, Timothy, Sarabeth, Marie, Dawnita, Anna Leah, Alexander, and Caleb




More information about the users mailing list