[Spambayes] Any way to watch for the header "X-Spam: True"?

Skip Montanaro skip at pobox.com
Fri Feb 13 17:06:55 EST 2004


    Eric> Can anybody give me a pointer as to how to get SB to recognize
    Eric> "X-Spam: True" as a header line and add it to its database?

Try setting the basic_header_tokenize option (in the Tokenizer category) to
True.  Then take a look at basic_header_skip to make sure headers you don't
want tokenized match one of the regular expressions there and that X-Spam
doesn't match (perhaps a bit easier said than done given that your probably
want to skip many/most x-.* headers).

Skip



More information about the Spambayes mailing list