Bugs item #1514409, was opened at 2006-06-29 18:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Submitted By: Alexandre Fayolle (afayolle)
Assigned to: Nobody/Anonymous (nobody)
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 [EMAIL PROTECTED]  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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1514409&group_id=61702
_______________________________________________
Spambayes-bugs mailing list
Spambayes-bugs@python.org
http://mail.python.org/mailman/listinfo/spambayes-bugs

Reply via email to