[Spambayes] cat multiple emails to hammiefilter.py -- OK to do?

Skip Montanaro skip at pobox.com
Thu Aug 14 13:10:44 EDT 2003


    Peter> I believe that ALL emails are catted and piped to the command,
    Peter> one after another, with no mbox "From " lines.

    Peter> Does this cause problems with hammiefilter.py?  It works, but
    Peter> does it train properly, or do I need to run hammiefilter.py on
    Peter> each message individually?

You need to run hf on each message independently.  If you could coax pine
into properly separating the messages you could write a pretty simple shell
or python script to split the input and run hammiefilter on each message.

Skip



More information about the Spambayes mailing list