[spambayes-bugs] [ spambayes-Bugs-884539 ] Error with multipart
messages
SourceForge.net
noreply at sourceforge.net
Mon Jan 26 16:47:33 EST 2004
Bugs item #884539, was opened at 2004-01-26 16:57
Message generated for change (Settings changed) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=884539&group_id=61702
Category: imapfilter
Group: Source code 1.0a7
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Bip (bippo312)
Assigned to: Tony Meyer (anadelonbrin)
Summary: Error with multipart messages
Initial Comment:
WinXP, python 2.3.3
Actually it's probably a malformed multipart email (evil
spammers!) but it makes spambayes stop scanning...
(and I can't tell which email is causing this among the
400+ spams I have :( )
This is the second or third time I've run into this... The
other times I've just manually erased the obvious spam
emails in my inbox and things work fine ('till the next
multipart error...)
Maybe spambayes can give a warning message that
there's a misbehaving email and continue scanning the
remaining emails?
(so I can manually erase that annoying email)
C:\Program Files\Python\Scripts>sb_imapfilter.py -c -p
SpamBayes IMAP Filter Beta1, version 0.1 (September
2003),
using SpamBayes IMAP Filter Web Interface Alpha2,
version 0.02
and engine SpamBayes Beta2, version 0.2 (July 2003).
Password:
Traceback (most recent call last):
File "C:\Program Files\Python\Scripts\sb_imapfilter.py",
line 825, in ?
run()
File "C:\Program Files\Python\Scripts\sb_imapfilter.py",
line 815, in run
imap_filter.Filter()
File "C:\Program Files\Python\Scripts\sb_imapfilter.py",
line 675, in Filter
self.unsure_folder)
File "C:\Program Files\Python\Scripts\sb_imapfilter.py",
line 590, in Filter
for msg in self:
File "C:\Program Files\Python\Scripts\sb_imapfilter.py",
line 485, in __iter__
yield self[key]
File "C:\Program Files\Python\Scripts\sb_imapfilter.py",
line 533, in __getite
m__
msg.get_substance()
File "C:\Program Files\Python\Scripts\sb_imapfilter.py",
line 364, in get_subs
tance
new_msg = email.Parser.Parser().parsestr(data
["RFC822"])
File "C:\PROGRA~1\Python\lib\email\Parser.py", line 75,
in parsestr
return self.parse(StringIO(text),
headersonly=headersonly)
File "C:\PROGRA~1\Python\lib\email\Parser.py", line 64,
in parse
self._parsebody(root, fp, firstbodyline)
File "C:\PROGRA~1\Python\lib\email\Parser.py", line
245, in _parsebody
raise Errors.BoundaryError(
email.Errors.BoundaryError: multipart message with no
defined boundary
C:\Program Files\Python\Scripts>
----------------------------------------------------------------------
Comment By: Tony Meyer (anadelonbrin)
Date: 2004-01-27 10:45
Message:
Logged In: YES
user_id=552329
Thanks for your report. This bug has previously been reported,
and has already been fixed in the source-code (i.e. in CVS) - so
you can expect to see the fix in the next release.
You may wish to subscribe to the spambayes-announce list to see
when each version is released - details at
http://mail.python.org/mailman/listinfo/spambayes-announce
If you are technically minded, you may like to run from the CVS
version of the source-code, and you should find the fix
immediately - see the main SpamBayes pages for details.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=884539&group_id=61702
More information about the Spambayes-bugs
mailing list