Recently upgraded from 2.63 to 3.0.1 and there's a behavior change I don't see documented. When spam comes in without a subject header, and the user has requested subject tagging, SA no longer adds one to put the tag in. Is this a bug or feature? Is there a way to get the old behavior back?
Sounds like a bug, not a feature.
In fact, it is: http://bugzilla.spamassassin.org/show_bug.cgi?id=3816
Looks like there's some hesitance to add a missing Subject: header, because it breaks markup removal when making a pristine message for reporting. However, they are working on it.
Note that I'm not confused about the change from rewrite_subect to rewrite_header. Spam with existing Subject lines get tagged fine.
It's just a syntax change in order to make things more flexible.. rewrite_subject no longer exists in SA 3.0, and as such is now completely invalid. subject_tag is gone too. If they exist in your config, remove them.
rewrite_header replaces rewrite_subject, but is more flexible, allowing you to rewrite the subject, from, or to headers with a tag.
SA 2.6 syntax: subject_tag *SPAM* rewrite_subject 1
SA 3.0 syntax:
rewrite_header Subject *SPAM*These two work the same, but rewrite_header is a bit more general and flexible than the old setup. You can now do things like:
rewrite_header From spammer
which will make the From line look like:
From: Joe <[EMAIL PROTECTED]> (spammer)
