On 9/6/19 12:01 PM, Bowie Bailey wrote: > On 9/6/2019 11:45 AM, David Galloway wrote: >> Hi, >> >> I'm running SpamAssassin 3.4.2 on Ubuntu 16.04 with Postfix and Mailman3. >> >> Occasionally, SpamAssassin will rewrite a message's subject with a score >> higher than what's in X-Spam-Status. This is not a rounding issue. >> >> For example, I'm looking at an e-mail now with "***** SPAM 5.4 *****" in >> the subject but "X-Spam-Status: No, score=3.2 required=5.0" >> >> AFAIK, there is no instance of SpamAssassin between the mail server and >> me that >> could have added the score to the subject. > > The instance of SpamAssassin that changed the subject would have been before > it got > to your server. Since your server does not mark the email as spam, it > doesn't change > the subject, and so the previous markup is left there. If your server had > marked the > email as spam, then it would have either changed the number to be correct, or > added a > second spam tag to the subject (depending on how smart SA's subject rewriting > routine > is). >
I didn't start seeing the subjects being changed until after I enabled SpamAssassin on my mail server though. I don't /think/ I'm crazy but as a litmus test, I just added my server's hostname to the rewrite_header Subject parameter and will wait for spam to come in.