Re: [exim] Oddity in spam filtering: negative scores still p…

Góra strony
Delete this message
Reply to this message
Autor: Adam Stephens
Data:  
Dla: John Robinson
CC: exim-users
Temat: Re: [exim] Oddity in spam filtering: negative scores still produce "possible spam" message in X-Spam-Report
On Fri, 8 Sep 2006, John Robinson wrote:


> The odd thing is, I'm getting the following in messages delivered on the
> box:
> X-Spam-Score: -1.4 (-)
> X-Spam-Report: Spam detection software, running on the system
>     "yuiop.plus.com", has identified this incoming email as possible
>     spam.  The original message has been attached to this so you can
>     view it (if it isn't spam) or label similar future email.  If
>     you have any questions, see the administrator of that system for
>     details.
>     Content preview:
> [etc]


>From your exim.conf:


   # Always add X-Spam-Score and X-Spam-Report headers, using SA system-wide settings
   # (user "nobody"), no matter if over threshold or not.
   warn  message = X-Spam-Score: $spam_score ($spam_bar)
         spam = nobody:true
   warn  message = X-Spam-Report: $spam_report
         spam = nobody:true


Like the comment says, these headers will be added regardless of the
spam score. You want to only add the X-Spam-Report header if the message
is over the threshold, like this:

   warn  message = X-Spam-Report: $spam_report
         spam = nobody


regards,
Adam.
--------------------------------
Adam Stephens
Network Specialist - Email & DNS
adam.stephens@???