Attached mail generates exception:
X-Spambayes-Exception: Traceback (most recent call
last):
. File "sb_server.pyc", line 471, in onRetr
. File "spambayes\message.pyc", line 247, in setPayload
. File "email\Parser.pyc", line 245, in _parsebody
.BoundaryError: multipart message with no defined
boundary
It's malformed message, but i think this exception should
be catched.
message source
Logged In: YES
user_id=552329
The latest version of the Python email library (which
SpamBayes uses) handles any malformed message, and much
better than we could hope to. There isn't any point in us
duplicating their work unless we really have to, so for the
moment we won't be adding any code to handle malformed
messages unless there is a huge wave of a particular type in
the near future.
Longer term, those running from source can use Python 2.4
(or just email 3.0) and they will have no more problems with
malformed messages. For those using the binary, SpamBayes
1.1a1 will be built with Python 2.4 and so will also handle
all of these.
We're not sure whether there will be a 1.0.x SpamBayes
release built with Python 2.4 or not, but it's possible.