[spambayes-dev] Release 1.0?

Skip Montanaro skip at pobox.com
Tue May 4 10:28:22 EDT 2004


    Toby> On Tuesday 04 May 2004 05:14, Tony Meyer wrote:
    >> However, the ones with the most to gain are sb_filter users, who are
    >> probably most willing to use CVS or apply a patch to a script
    >> (sb_imapfilter and sb_server will both keep running and just fail to
    >> classify that message, and Outlook is immune).

    Toby> sb_filter should be fail-safe with this too. Whatever calls
    Toby> sb_filter is supposed to ignore its output if it exits with an
    Toby> exception and a non-zero exit code.

Note that sb_filter.py can process a large mailbox or maildir as well as a
single message.  In that situation I think you might want it to recover as
well as it can and continue.  In the normal case I agree that exiting with a
non-zero status is okay.

After a little more messing around with the mboxutils.as_string() function
I'm not certain it's all that robust itself.  I don't think it's doing quite
the reight right thing with boundaries and wonder if it should recurse
instead of just calling part.as_string() for each part.

Skip



More information about the spambayes-dev mailing list