[Spambayes] notate_subject

Adam Henry hank at marinar.com
Thu Oct 16 19:07:21 EDT 2003


Hello,

I'm using Spambayes-1.0a6.1 with Python-2.3.2, and have a question
about how the configuration option "notate_subject:" works.  In the
release notes for a5, it was mentioned by Richie Hindle that this
option takes "a comma-seperated list of one or more of 'spam', 'ham'
and 'unsure'."  Can anyone post an example of proper usage?  This is
what I get:

Option file:

	[Headers]
	notate_subject: spam, ham, unsure


========
# cat cur/1066339702.H151802P21376.2,S | sb_filter.py -d spambayes.db 
Attempted to set [Headers] notate_subject with invalid value ('spam,',
'ham,', 'unsure') (<type 'tuple'>)
Return-path: <hank at marinar.com>
Envelope-to: test at marinar.com
Delivery-date: Thu, 16 Oct 2003 17:28:22 -0400
Received: from mail by intrepid.marinar.com with default_spambayes
(Exim 4.22)
        id 1AAFfR-0005Ye-T8
        for test at marinar.com; Thu, 16 Oct 2003 17:28:22 -0400
Received: from pf-pvlle-oh-01.marinar.com ([209.176.254.251]
        helo=hank.marinar.com) by intrepid.marinar.com with esmtp
(Exim 4.22)
        id 1AAFfR-0005Ya-Rd
        for test at marinar.com; Thu, 16 Oct 2003 17:28:21 -0400
Received: from ahank by hank.marinar.com with local (Exim 3.35 #1
(Debian))
        id 1AAFfR-0006Gh-00
        for <test at marinar.com>; Thu, 16 Oct 2003 17:28:21 -0400
Date: Thu, 16 Oct 2003 17:28:21 -0400
From: Adam Henry <hank at marinar.com>
To: test at marinar.com
Subject: test
Message-ID: <20031016212821.GR32674 at hank.marinar.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Sender: Adam Henry <hank at marinar.com>
X-Spambayes-Classification: unsure; 0.2686
========


If I run this with "notate_subject:" set to just "unsure", I don't get
this error, but the subject isn't modified.  Does this only work with
the POP3 Proxy?

Thanks for any help, I can't wait to get this working!

|nank



More information about the Spambayes mailing list