[Spambayes] content-type causing sb_filter.py to bail out

Skip Montanaro skip at pobox.com
Tue Apr 27 13:37:33 EDT 2004


    >> sb_filter.py spits out the following error:

    Qub> Spambayes 1.0a9 (still need to study recent IMAP thread before
    Qub> deciding to upgrade to 1.0b1) -- confirming problem, and it's
    Qub> severe. Probably some recent version of some "popular" spamsoft
    Qub> spits those limp messages. The problem is quite similar to the
    Qub> previously solved multipart one, but it's obviously not get trapped
    Qub> by current code.

I tried this last night.  If I omitted the final boundary
("----7615487063415977--") it blew chunks, but if I included it, it worked
more-or-less.  By "more-or-less" I mean it didn't get an exception, but it
didn't spit out the text/html MIME chunk either:

    % sb_filter.py < spambayes_error.log 
    From rxsztts at xtra.co.nz Mon Apr 26 15:01:53 2004
    Return-path: <rxsztts at xtra.co.nz>
    Envelope-to: postmaster at marinar.com
    Delivery-date: Mon, 26 Apr 2004 15:01:53 -0400
    Received: from ponyexpress.marinar.com ([65.255.160.216] helo=mail.mwweb.com)
            by intrepid.marinar.com with esmtp (Exim 4.31) id 1BI7GB-0000lV-TY
            for postmaster at marinar.com; Mon, 26 Apr 2004 10:39:03 -0400
    Received: from SMTP32-FWD by mail.mwweb.com
            (SMTP32) id A000002A0; Mon, 26 Apr 2004 10:36:07 -0400
    Received: from intrepid.marinar.com [65.255.160.16] by mail.mwweb.com with
            ESMTP (SMTPD32-6.06) id AE545B400DA; Mon, 26 Apr 2004 10:36:07 -0400
    Received: from mail by intrepid.marinar.com with spam-scanned (Exim 4.31)
            id 1BI7GA-0000kt-Oe; Mon, 26 Apr 2004 10:39:02 -0400
    Received: from wbar10.tampa1-4-7-051-144.tampa1.dsl-verizon.net ([4.7.51.144])
            by intrepid.marinar.com with smtp (Exim 4.31)
            id 1BI7G8-0000fG-Rv; Mon, 26 Apr 2004 10:39:02 -0400
    Received: from 182.50.168.47 by web307.mail.yahoo.com;
            Mon, 26 Apr 2004 08:39:22 -0700
    Message-ID: <QHHPQXPFYNHJXQZIWOPY at cox.net>
    From: "Cedric Terry" <rxsztts at xtra.co.nz>
    To: kenray at mwweb.com, postmaster at mwweb.com, kjones at mwweb.com
    Subject: Change your Future. Re-Finance Now!
    Date: Mon, 26 Apr 2004 08:36:22 -0700
    MIME-Version: 1.0
    Content-Type: text/html;
            boundary="--7615487063415977"
    X-CS-IP: 213.170.38.228
    X-Spam-Status: No, hits=1.7 required=8.0
            tests=HTML_20_30,HTML_FONT_COLOR_GRAY,MIME_HTML_ONLY
            version=2.54
    X-Spam-Level: *
    X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp)
    X-Spambayes-Classification: titan-unsure; 0.52
    X-Spambayes-Evidence: '*H*': 0.30; '*S*': 0.34; 'received:65.255': 0.16;
            'received:65.255.160': 0.16; 'received:65.255.160.16': 0.16;
            'received:intrepid.marinar.com': 0.16;
            'received:marinar.com': 0.16; 'received:mail': 0.36;
            'header:Received:6': 0.40; 'received:dsl-verizon.net': 0.64;
            'to:addr:postmaster': 0.65; 'content-type:text/html': 0.66;
            'subject:!': 0.67; 'subject:. ': 0.71; 'received:4': 0.71;
            'subject:your': 0.73; 'to:2**2': 0.74;
            'to:no real name:2**2': 0.74; 'sfxlen:3': 0.91

Skip



More information about the Spambayes mailing list