On Mon, 23 Feb 2004 15:34:33 +0100, Stefan Hornburg wrote:

>Hello, list !
>
>On one of my servers at is frequently used and some of the emails
>generated are tagged as SPAM with the following scores:
>
>
>Content analysis details:   (5.0 points, 5.0 required)
>
> pts rule name              description
>---- ---------------------- --------------------------------------------------
> 4.1 SUBJ_HAS_SPACES        Subject contains lots of white space
>-0.0 BAYES_44               BODY: Bayesian spam probability is 44 to 50%
>                            [score: 0.4531]
> 3.0 MSGID_FROM_MTA_SHORT   Message-Id was added by a relay
>-2.1 AWL                    AWL: Auto-whitelist adjustment
>
>The subject of the email is:
>Output from your job       48
>
>The message id is (added by the MTA probably)
>Message-Id: <[EMAIL PROTECTED]>
>
>How can I avoid these false positives ?

I see three possible solutions:

(1) Alter the score for SUBJ_HAS_SPACES in local.cf:
  score SUBJ_HAS_SPACES 3.5

(2) Alter the number of contiguous spaces required by that trigger in
20_head_tests.cf (default is 6 - you could change it to 8 to avoid
triggering on that subject):
  header SUBJ_HAS_SPACES                Subject =~
/(?:\s{8}|\t\s|\s\t)\S/

(3) Define your own test to give a positive score if the subject
contains "Output from your job."

Of course there are other solutions as well - SA is extremely flexible
in that respect - but one of those should suffice if you don't want to
get into it too deeply.



Reply via email to