Mike> Correct me if I'm wrong, but it would appear that sb_filter can
    Mike> not process .eml files by passing the eml filename via the command
    Mike> line, correct?

    >> What's a .eml file?

    Victor> Basically it is a degenerate Unix mbox. It consists of one
    Victor> message and has no "^From " line.

Ok, then I think I can state that sb_filter does work with such files.  I
took an mbox file containing a single spam message, stripped it of its From_
line and fed it to sb_filter.py on stdin.  Worked as intended:

    % sb_filter.py < spam.1.eml | egrep Spam
    X-Spambayes-Classification: spam; 0.93
    X-Spambayes-Evidence: '*H*': 0.01; '*S*': 0.88; 'response.': 0.09;

Was there more you needed it to do?

Skip
_______________________________________________
SpamBayes@python.org
http://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to