You can integrate SpamAssassin with Thunderbird (see e.g. Junk Mail Controls in the Mozilla knowledge base). There are several articles on how to configure Thunderbird to use SpamAssassing tags: TigerTech Support has one, so has the tech evangelist.
As your ISP doesn't run SA (you indicate as much), the first step however would be getting that to run locally on your machine. One of your comments suggests you're using Windows – so setting up SpamAssassin won't be trivial (on Linux machines, you can simply install it via repositories). Please see the SpamAssassin Wiki for the installation procedure.
Now to your main goal: Yes, SpamAssassin can help you filter "foreign language mails", which is described in detail at email.about.com for Linux (you might need to adjust the paths). As I'm a Linux user, I cannot give the Windows specifics here – so I follow that guide, which says:
- open
/etc/mail/spamassassin/local.cf
with an editor.
- If not present, add "ok_languages " on a line of itself.
- List the languages you want to accept, separated by spaces (list there, it's too long)
To accept mail in English, German, Latin, Thai and Swedish, for example, use ok_languages en de la th sv
.
I cannot access my server from where I am (inside a "walled garden"). I'm aware that listing languages you find OK is not what you want (but rather list those to exclude). I've setup some specific rules for several charsets, so I can share them. Will add them as soon as I'm back home – so you've got time to have SA running then :)
After having that all summed up, I see there's a much simpler approach to achieve your goal (though maybe not that effective, I cannot tell):
This is a copy of a "msgFilterRules.dat" file that contains a sample message filter for removing Russian spam using vowels, and another for removing Russian/Chinese spam based on character sets. mailbox://nobody@Local%20Folders/Junk looks bizarre but thats just how Thunderbird encodes the Junk folder within Local Folders. If you don't have any message filters defined for an account you could copy and paste it into a "msgFilterRules.dat" file in your account directory (the directory named after your accounts mail server) in your profile.
version="8"
logging="no"
name="Remove russian spam using vowels"
enabled="yes"
type="1"
action="JunkScore"
actionValue="100"
action="Move to folder"
actionValue="mailbox://nobody@Local%20Folders/Junk"
action="Mark read"
condition="OR (body,contains,э) OR (body,contains,ы) OR (body,contains,я) OR (body,contains,ё) OR (body,contains,ю) OR (body,contains,и)"
name="Remove russian/chinese spam using Content-Type header"
enabled="yes"
type="1"
action="JunkScore"
actionValue="100"
action="Move to folder"
actionValue="mailbox://nobody@Local%20Folders/Junk"
action="Mark read"
condition="OR (\"Content-Type\",contains,KOI8-R) OR (\"Content-Type\",contains,KOI8-U) OR (\"Content-Type\",contains,ISO 8859-5) OR (\"Content-Type\",contains,Big5) OR (\"Content-Type\",contains,GB-2312) OR (\"Content-Type\",contains,GB18030) OR (\"Content-Type\",contains,GBK)"
Could it be this exactly matches your needs? Filters Russian (your requirement) and Chinese (your bonus).