Byteplant Forum

Home » CleanMail Support » CleanMail SpamAssassin Filter » No Malaysia mail
No Malaysia mail [message #514] Thu, 27 October 2005 21:39
RandallRash
Messages: 23
Registered: March 2005
Junior Member
Did I understand the latest SpamAssassin was making an attempt to allow filtering mail from specified countries (by code). How would I filter out Malaysia or Russia?
Re: No Malaysia mail [message #515 is a reply to message #514] Fri, 28 October 2005 12:11 Go to previous message
support
Messages: 918
Registered: April 2004
Senior Member
RandallRash wrote:

> Did I understand the latest SpamAssassin was making an attempt
> to allow filtering mail from specified countries (by code). How
> would I filter out Malaysia or Russia?

From the SpamAssassin 3.1.0 documentation (see http://spamassassin.apache.org/full/3.1.x/dist/doc/Mail_SpamAssassin_Conf.html):

ok_locales xx [ yy zz ... ] (default: all)
This option is used to specify which locales are considered OK for incoming mail.
Mail using the character sets that are allowed by this option will not be marked as
possibly being spam in a foreign language.

If you receive lots of spam in foreign languages, and never get any non-spam in these languages, this may help. Note that all ISO-8859-* character sets, and Windows code page character sets, are always permitted by default.

Set this to all to allow all character sets. This is the default.

The rules CHARSET_FARAWAY, CHARSET_FARAWAY_BODY, and CHARSET_FARAWAY_HEADERS are triggered based on how this is set.

Examples:

ok_locales all (allow all locales)
ok_locales en (only allow English)
ok_locales en ja zh (allow English, Japanese, and Chinese)

Note: if there are multiple ok_locales lines, only the last one is used.

Select the locales to allow from the list below:

en - Western character sets in general
ja - Japanese character sets
ko - Korean character sets
ru - Cyrillic character sets
th - Thai character sets
zh - Chinese (both simplified and traditional) character sets



Customer Support
Byteplant GmbH
Previous Topic: Adding my own RBL check
Next Topic: SpamAssassin scoring in NST
Goto Forum:
  


Current Time: Sun Sep 25 17:40:30 CEST 2016