Hi everyone,
I have these two lines in my .spamassassin/user_prefs file:
rewrite_subject 1 subject_tag [ Spam: _HITS_ Auto Learn: _AUTOLEARN_ ]
But when it's actually run it ends up like this:
$ cat .maildir/.Junk/cur/1097701214 | spamc <snip> Subject: [ Spam: 05.14 Auto Learn: _AUTOLEARN_ ] ... <snip>
Is there any reason that the _AUTOLEARN_ tag isn't getting replaced with "no", "ham", or "spam"? Or is there something with my distribution's setup that's causing this?
If report_safe is not set to 0, SA won't do that, it will only honor _SCORE_ and _REQD_.
Read the documentation for rewrite_header in man Mail::SpamAssassin::Conf.