On Tue, 31 Mar 2009 23:08:14 -0400, Matt Kettler <mkettler...@verizon.net>
wrote:
> Andrew Bruce wrote:
>> Is it possible to have a header, or in X-Spam-Status always show the
>> individual scores for each of the test performed against a particular
>> email
>> (whether it is tagged as spam or not)? 
>>
>> I see that when using MailScanner with SpamAssassin this always happens,
>> but cannot replicate the same for a straight SpamAssassin installation. 
>>
>> This is an example of what I get in an emails source from MailScanner
and
>> would like to replicate in SpamAssassin: 
>> X-MailScanner-Spam: not spam, SpamAssassin (not cached,
>>  score=4.616, required 5, BAYES_40 -0.18, DCC_CHECK 4.50,
>>  HTML_MESSAGE 0.00, RDNS_DYNAMIC 0.10, SARE_HTML_USL_A 0.20) 
>>
>>   
> You're using MailScanner, which generates it's own markup. SA by default
> always adds such a header, but MailScanner doesn't use it.
> 
> There's an option in MailScanner.conf to make MailScanner do this. It's
> something like "always include spamassassin report" or something like
that.

Odd, because on SpamAssassin it never showed that header unless the message
was marked as spam.  Although I should have mentioned that it's being
called through amavisd-new which may have had something to do with it. 
I've added a custom header, and played with the $sa_tag_level_deflt values
in amavis, now the header shows up:

X-Spam-Scores: ALL_TRUSTED=-1.8,BAYES_00=-2.599,HTML_MESSAGE=0.001,
        MIME_HTML_ONLY=1.457,NO_DNS_FOR_FROM=1.496

Reply via email to