SA Bugzilla – Bug 225
is_charset_ok_for_locales is bad.
Last modified: 2002-06-15 03:58:08 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.
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.