The FreeBSD mailing lists I'm subscribed to use
spamassassin and insert headers that look like this:
X-Spam-Status: No, hits=-19.5 required=5.0
tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
REPLY_WITH_QUOTES
autolearn=ham version=2.50
(I hope this doesn't get corrupted in the form, the
single header should have 4 lines)
I'm filtering incoming mail with bmf -p and what
happens is that bmf deletes only the first line of the
multi-line header leaving
tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
REPLY_WITH_QUOTES
autolearn=ham version=2.50
Of course now the three lines get associated with the
header before X-Spam-Status :(
I've put a somewhat primitive patch (against version
0.9.4) at
http://stud3.tuwien.ac.at/~e0026813/bmf-lex.c.diff, I'm
sure it isn't a complete solution (it doesn't cover
is_ignoredheader() for example) but works for me so far.
Regards,
Stefan Farfeleder <stefan@fafoe.dyndns.org>