JamesDR wrote: > It seems, at least from here, that -d doesn't remove markup. <snip> 0 > rewrite_header Subject [Spam Software Has Detected > This As Spam-Hits:_HITS_ Req:_REQD_] > report_safe 1
As per the docs: rewrite_header { subject | from | to } STRING <snip some text> Note that you should only use the _REQD_ and _SCORE_ tags when rewriting the Subject header unless report_safe is 0. Otherwise, you may not be able to remove the SpamAssassin markup via the normal methods. Since you're adding the HITS to the subject header, and using report_safe 1, you won't be able to use spamassassin -d, as per the docs.