I've added to the file /usr/share/spamassassin/10_misc.cf the following lines. add_header all Level _STARS(*)_ add_header all Hits _HITS_
I know this is the wrong place but it is still for testing.
Unfortunately these headers are not added when the mail is no spam. They are only added when the mail is spam. When I use spamassassin to test my configuration everything works as expected. The headers are added wether the mail is spam or not
Did you remove the default add_header commands?
It seems like you're getting the default behavior, which would happen if you added those lines to the top of 10_misc.cf, and they got clobbered by the defaults later on down the file.
I'd really suggest doing this with clear_header and a series of commands in a .cf file in your /etc/mail/spamassasin directory. It's a lot easier to remove if you screw up.
And as always, don't forget to --lint, and restart spamd after you're done editing.
