Package: spambayes
Version: 1.0.4-3
Severity: normal

sb_filter.py breaks when the header contains the following line:

    Content-Type: multipart/alternative;

Notice the ; but absence of a boundary= parameter.

A message with this header has the complete header removed.  It is
replaced with the spambayes score.  The body is untouched.

My spambayesrc:

[Headers]
include_evidence = True
[Storage]
persistent_use_database = True
persistent_storage_file = ~/.hammie.db
[Categorization]
ham_cutoff = 0.05
spam_cutoff = 0.50

A header exhibiting the problem:

Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from mxdrop20.xs4all.nl (mxdrop20.xs4all.nl [194.109.24.210])
        by love.zweije.nl.eu.org (Postfix) with ESMTP id 99FC0420F
        for <[EMAIL PROTECTED]>; Fri, 30 Jun 2006 10:26:21 +0200 (CEST)
Received: from mxdrop20.xs4all.nl (localhost [127.0.0.1])
        by mxdrop20.xs4all.nl (8.13.6/8.13.6) with ESMTP id k5U8QLH7028440
        for <[EMAIL PROTECTED]>; Fri, 30 Jun 2006 10:26:21 +0200 (CEST)
        (envelope-from [EMAIL PROTECTED])
Received: (from [EMAIL PROTECTED])
        by mxdrop20.xs4all.nl (8.13.6/8.12.11/Submit) id k5U8QLZ1028439
        for [EMAIL PROTECTED]; Fri, 30 Jun 2006 10:26:21 +0200 (CEST)
        (envelope-from zweije)
X-Sense-Delivered-From-On: [EMAIL PROTECTED] Fri Jun 30 10:26:21 2006
Received: from 550D4828 ([222.87.34.246])
        by mxdrop20.xs4all.nl (8.13.6/8.13.6) with SMTP id k5U8OonF027447;
        Fri, 30 Jun 2006 10:25:13 +0200 (CEST)
        (envelope-from [EMAIL PROTECTED])
message-id: <[EMAIL PROTECTED]>
From: "TOTH CRISTINE" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: re:i came across a reliable..
Date: Fri, 30 Jun 2006 01:20:50 -0800
MIME-Version: 1.0
Content-Type: multipart/related;
X-XS4ALL-DNSBL-Checked: mxdrop20.xs4all.nl checked 222.87.34.246 against DNS 
blacklists
X-Virus-Scanned: by XS4ALL Virus Scanner
X-XS4ALL-Spam-Score: 16.894 (****************) 
HOT_NASTY,HTML_FONTCOLOR_UNSAFE,HTML_MESSAGE,UPPERCASE_25_50,URIBL_AB_SURBL,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SC_SURBL,URIBL_WS_SURBL
X-XS4ALL-Spam: YES

-- System Information:
Debian Release: testing/unstable
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages spambayes depends on:
ii  python                        2.3.5-10   An interactive high-level object-o
ii  python-central                0.4.17     register and build utility for Pyt

spambayes recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to