Spamassassin: Add _SCORE_ to start of ham subjects with procmail
Hey there,
In order to get used to the scores that spamassassin gives to ham, I want to label all emails with the _SCORE_ variable at the start of every subject for all emails.
I have troved through the spamassassin how-tos and man pages, and tried several things, but none seem to have worked. For example,
rewrite_subject 1
rewrite_header (with and without 'ham' here) Subject _SCORE_
None of these work. I have come to the conclusion that no spamassassin config will do the trick.
Then I come to the conclusion to use procmail. I have heard that it may be possible to use the \/ $MATCH rules, with one match for the score, another for the subject, and then rewrite the subject. I cannot think of how to do this though! The other possiblility maybe awk, but have no idea how to do this either.
Any help would be greately appreciated.
Rhys
|