[spambayes-bugs] [ spambayes-Bugs-1514409 ] sb_filter.py problem with spam using broken MIME
SourceForge.net
noreply at sourceforge.net
Fri Jun 30 03:00:07 CEST 2006
Bugs item #1514409, was opened at 2006-06-30 04:05
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1514409&group_id=61702
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Alexandre Fayolle (afayolle)
>Assigned to: Tony Meyer (anadelonbrin)
Summary: sb_filter.py problem with spam using broken MIME
Initial Comment:
Hi,
I received the following bug report on the Debian
package of spambayes (http://bugs.debian.org/375990):
Package: spambayes
Version: 1.0.3-1
Severity: normal
sb_filter.py does not deal well with broken MIME messages.
I've been receiving spams with broken headers lately:
From aayeaouoauyuaoea at cyber.net.pk Thu Jun 29
16:32:36 2006
...
Subject: Incredible ...
Date: Thu, 29 Jun 2006 06:32:29 -0800
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_NextPart_000_000B_01C69AEB.282715C0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
[etc]
Note the extra blank line in the Content-Type header.
When this message
gets filtered through sb_filter.py, most of the headers
are discarded,
and I get
X-Spambayes-Classification: spam; 0.94
boundary="----=_NextPart_000_000B_01C69AEB.282715C0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
[etc]
I use sb_filter.py from procmail, which then appends
the email to a Unix
mbox file. Since the 'From ' pseudo-header was removed
by sb_filter.py,
the remaining text gets concatenated to the last email
in the mailbox.
----------------------------------------------------------------------
>Comment By: Tony Meyer (anadelonbrin)
Date: 2006-06-30 13:00
Message:
Logged In: YES
user_id=552329
There are too many ways for mail to be malformed for it to
be worth trying to handle them in SpamBayes.
If you use version 3 or above of the Python email package
(this is included in Python 2.4+, or you can install it
separately) then it handles all of these problems.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1514409&group_id=61702
More information about the Spambayes-bugs
mailing list