> I have added the following line in /etc/mail/spamassassin/local.cf : > > add_header all Level _STARS(*)_ > > and when a message is recieved (either spam or ham) the > header isn't there. I have also noticed that there are > missing default headers in X-Spam-Status. I have only these values : > > X-Spam-Status No, hits=-4.9 required=2.5 > > According to "man Mail::SpamAssassin:Conf" I should see more > values in X-Spam-Status or not?
It depends. Different information is included for spam and nonspam messages. 1. Make sure if you have a "report_safe" option that it comes before anything that modified the header options. 2. You don't need to do the add_header for Lever as it is the default. I run mine a little differently as I like the scoring separate from the tests: clear_headers add_header all Level _STARS(+)_ add_header all Score _HITS_ add_header all Tests "tests=_TESTSSCORES_;autolearn=_AUTOLEARN_" remove_header all Report Then I base my spam rules on X-Spam-Level. Bret > > I'm using SA 2.63, netqmail-1.04, clamav 0.67-1 on RH 7.3. > > Thanks for any info and have a nice day. > > Greetings from Slovenija, > > Andrej. >
