Koozali.org: home of the SME Server

spamassassin charset filtering

Offline loejf

  • ****
  • 74
  • +0/-0
spamassassin charset filtering
« on: December 02, 2007, 06:45:53 PM »
Hi.
I want to modify the following settings.
More specific, I want to filter out all emails, with the "charset=KOI8-R" in the message content, since we receive a lot of emails with russian charset.

But how do it config these settings.

Thanks. Loejf.

---------------
LANGUAGE OPTIONS

           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
           normalize_charset ( 0 | 1)        (default: 0)
               Whether to detect character sets and normalize message content to Unicode.  Requires the Encode::Detect module, HTML::Parser
_______________________
« Last Edit: December 02, 2007, 07:54:28 PM by loejf »
...