X-Spam-Status problem with bmf AND spamassassin
Status: Beta
Brought to you by:
t-m
I've had a problem using bmf and spamassassin to do mail filtering, something like this :
Subject: bla bla bla bla bla bla bla bla bla
tests=KNOWN_MAILING_LIST
version=2.54
The original subject line mixed with X-Spam-Status header by spamassassin.
I think that bmf not properly rewrite the X-Spam-Status header, by ignoring the continuation lines.
This is how I fixed the problem:
in ~/.procmailrc:
:0fw
* ^X-Spam
| formail -R "X-Spam-Status" "X-SA-Spam-Status" \
-R "X-Spam-Level" "X-SA-Spam-Level"
this go before bmf check, so the two (SA and bmf) X-Spam-Status headers don't mix up.
Thanks to Gary Funck <gary@Intrepid.Com> that helped me on the SA mailing list.