Hello,

Using SA 3.2.5 I read in the Mail::SpamAssassin::Conf man page that:

     report_safe ( 0 | 1 | 2 )     (default: 1)
        ...
        If this option is set to 0, incoming spam is only modified
        by adding some "X-Spam-" headers and no changes will be made
        to the body.  In addition, a header named X-Spam-Report will
        be added to spam.

I am currently reconfiguring SA, and have set report_safe to 0. Our
'required' score is 8, and I have also configured:

     clear_report_template
     report "Score=_SCORE_ tests=_TESTS_ autolearn=_AUTOLEARN_"

However, as far as I can tell, the X-Spam-Report header gets added to
ham mail as well as spam. For example:

   X-spam-report: Score=-6.9 
        tests=BAYES_00,DCC_CHECK,RCVD_IN_DNSWL_HI autolearn=ham

(taken from a received message; line wrapped be me). I have no problem
with the header being added, and in fact that is what I wanted. However,
I am a bit confused because the man page says it should only be added
for spam mail.

Can someone clarify what is going on please. Is there anything I need to
do to the config to ensure that the above report is added to all mail
(despite is seeming to happen anyway)?



Thanks,

John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: john.ho...@plymouth.ac.uk       Fax: +44 (0)1752 587001

Reply via email to