[Spambayes] Re: big imapfilter.py problem

Meyer, Tony T.A.Meyer at massey.ac.nz
Wed Apr 30 16:56:49 EDT 2003


[...other headers...]
> List-Archive: 
> <http://mail.python.org/pipermail/c++-sig/>\r\nDate: Sat, 01 
> Mar 2003 17:32:25 -0300\r\nX-
> Spambayes-Classification: unsure\r\nThanks for the reply 
> Ralf,\r\n\r\n
[...rest of body...]

>   File "/usr/local/lib/python2.2/email/Parser.py", line 128, 
> in _parseheaders
>     raise Errors.HeaderParseError(
> email.Errors.HeaderParseError: Not a header, not a 
> continuation: ``Thanks for the reply Ralf,''

These are the important bits.  This has a message with the
classification header, but no blank line separating the headers and the
body.  So parsing the headers dies.

Any idea why this might happen, Tim?  I'll have a look, but I probably
won't be able to get to this tomorrow.  I *suspect* that it's a problem
in message.py rather than imapfilter.py, but I wouldn't guarantee it.

=Tony Meyer



More information about the Spambayes mailing list