You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Philip Prindeville <ph...@redfish-solutions.com> on 2006/02/01 08:22:25 UTC

Couple of newbie questions...

Hi.

I just joined the list, and I do a little peripheral work with 
Mimedefang and
Thunderbird, sendmail, etc.

In working with MdF, the following issue came up.

(1) Is there a way to specify that you want to reset all previously defined
    scores, like "score * 0" for instance?  The reason is that we are 
trying out
    a particular configuration for MdF at this site where we score heavily
    for things like CHARSET_FARAWAY (see below) or MIME_BASE64_TEXT,
    and if we get matches on these we bounce the email.  Matching any one of
    these should be enough to put us over the top, so we'd probably do 
something
    like:

    === sa-mimedefang.cf ===
    required_score 10.0

    ok_locales en

    score * 0.0
    score CHARSET_FARAWAY 10.0
    score CHARSET_FARAWAY_HEADER 10.0
    score MIME_BASE64_TEXT 10.0
    score UNWANTED_LANGUAGE_BODY 10.0

    and we don't want the default scores.
   
(2) And I noticed that the Locales.pm module, we accept ISO8859-9 (Turkish?)
   etc. when the ok_locales is "en fr" (for instance), which can both be 
covered
   in ISO8859-1 (or arguably, even USASCII if you drop the accents).

   Could we include a stricter rule that when the "ok_locales" is "en", 
then we
   accept USASCII or ISO8859-[1-4], but only when the lower 128 are used,
   or the non-letter characters (i.e. allowing paragraph, 1/4, yen, 
pound sterling,
   etc.)?  Or maybe allow letters from ISO8859-1's upper half as well, 
but not
   for ISO8859-[2-4]...

This would help in eliminating getting solicitations for Turkish chain 
letters,
etc.  Though having separate settings for headers and body text would be
useful, because someone's Organization or full-name might be accented...
but the text of the body shouldn't be... well, except that the signature 
line
might be... Sigh.

-Philip