I have tried to use the add_header feature in /etc/mail/spamassassin/local.cf with no luck. It does not write the added header at all. However the local.cf file is being processed, because I can change required_hits and it has an effect.
<snip>
This is the contents of my simple local.cf file:
skip_rbl_checks 1 required_hits 5 rewrite_subject 0 add_header all Score _HITS
This works for me, but because you forgot the trailing _ I get this header added:
X-Spam-Score: _HITS
Adding the trailing _ I get this (using the sample-spam.txt in local-only mode with no bayes, etc):
X-Spam-Score: 1000.0
I might suggest running spamassassin --lint just to check for config errors.
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk