[Spambayes] Perhaps a level header would be useful?

Skip Montanaro skip at pobox.com
Tue Mar 11 08:00:27 EST 2003

    Tony> Ok, there's now the following headers available in pop3proxy:
    Tony> X-Spambayes-Classification: {ham | spam | unsure}
    Tony> X-Spambayes-Spam-Probability: (message score)
    Tony> X-Spambayes-Level: (thermostat, one * = 10%)
    Tony> X-Spambayes-Evidence: (list of clues, like hammie's debug)
    Tony> X-Spambayes-MailId: (unique id for the message)

Perhaps adding/deleting headers should be controlled by their own section in
the options file and a headers module should be written, so all apps which
tweak headers can say something like:

    from spambayes import headers
    headers.add_spambayes_headers(msg, ...)

and not have to worry further about specific headers.

On a related note, it seems to me that if a spambayes tool is going to
delete one of the headers (in case the message has been classified
previously or spammers try to exploit them), then all of them should be

    from spambayes import headers


More information about the Spambayes mailing list