Hi Jean.
The default setup for Qmail-Scanner is to send the email to SA and ask back *only* for the status: is spam? yes or no? score?. End.
This is much more efficient than ask back for the full email rewriten by SA.
But of course, any change to the email you have configured in SA will just be ignored.
I think there is an option in Qmail-Scanner to enable "verbose_spamassassin" to get all headers back from SA. Not very efficient however... but for testing is fine.
But also: there is an specific option in Qmail-Scanner to re-write the subject header if the email is spam. I don't remember the option name, but it is there in the docs, in the options list.
- Oscar.
Jean Caron wrote:
I read everything I could find... still doesn't work. I don't get it.
I want to enable the header Level _STARS(*)_. The content of my "bare bone" /etc/mail/spamassassin/local.cf is below;
rewrite_header Subject *****SPAM*****
report_safe 1
lock_method flock
add_header all Level _STARS(*)_
Everything else works fine. I'm using SA 3.0 with qmail-queue.
Jean