SpamCheck Header

Julian Field jkf at
Wed May 22 11:15:59 IST 2002

At 09:44 22/05/2002, you wrote:
>I have this header in his e-mails:
>>X-MailScanner-SpamCheck: SpamAssassin (score=2.7, required 5,
>I assumed it was being added by his installation but it's obviously
>being added here. I thought that it would say "not spam" if the SA
>score was less than the threshold.

If you are sure it is being generated by your site, then I cannot reproduce
the problem. As you see from my earlier post on this, I have tested just
about every combination I can think of and it is working fine.

Please just check that starting at line 342 of, your code reads
like this:

     # Do the actual tests and work out the integer result
     $spamness = $Test->check($Mail);
     $SAResult = ($spamness->is_spam())?1:0;
     #$SAResult = int($spamness->get_hits()) if $SAResult;
     $HitList  = $spamness->get_names_of_tests_hit();
Julian Field                Teaching Systems Manager
jkf at         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ

More information about the MailScanner mailing list