Bug 225 - is_charset_ok_for_locales is bad.
Summary: is_charset_ok_for_locales is bad.
Status: RESOLVED WORKSFORME
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: 2.30CVS
Hardware: All Linux
: P2 critical
Target Milestone: ---
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-19 08:58 UTC by Alexandr D. Kanevskiy
Modified: 2002-06-15 03:58 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr D. Kanevskiy 2002-04-19 08:58:16 UTC
Hello. 
I try use spamassasin and it's good.
But, if I recieve letter only on russian language I have a problem:

SPAM: Hit! (1.5 points)  A foreign language charset used in headers
It's not right - users have ru locale, system damons (sendmail/procmail) 
executed with C locale - so %charsets_for_locale never been checked.

SPAM: Hit! (3.2 points)  Subject is full of 8-bit characters
not so good score for cyrillic letters too.
Comment 1 Duncan Findlay 2002-06-01 19:04:05 UTC
is_charset_ok_for_locales is just fine.
Make sure you set:

ok_locales ru

or

ok_locales ru en

in your config.

If it still doesn't work, reopen/file a new bug.