[spambayes-dev] Incremental filtering and the spam folder

Kenny Pitt kennypitt at hotmail.com
Tue Apr 6 09:37:21 EDT 2004

Tony Meyer wrote:
> The log file has a rather confusing message when incremental training
> is *disabled*:
> """
> SpamBayes: Watching (for incremental training) in 'Personal
> Folders/Spam' """
> This gets logged because the spam folder is (from what I can tell)
> still watched for incremental training, but when an item gets added
> to it, if the train_manual_spam option is False, nothing happens.
> Would it not be better to only add the hook if the train_manual_spam
> option is True?  Or is there some other reason that the spam folder
> has to be hooked?

Haven't looked at the code to see if anything else is going on in the
hook function, but at the very least it seems like we should check the
train_manual_spam option and not generate the log message if incremental
training is disabled.

Kenny Pitt

More information about the spambayes-dev mailing list