[spambayes-dev] saving attachments

Skip Montanaro skip at pobox.com
Mon Mar 8 15:31:23 EST 2004


    Ryan> I just looked at the spam clues for several messages I have with
    Ryan> attachments, and SpamBayes 1.0a9 (Outlook Plug-in with default
    Ryan> install options) appears to ignore attachments completely.

As Tim Peters indicated that's because nobody's expended the effort
necessary to reassemble the MIME information after Outlook has ripped it
apart.  I have lots of content-type information in my database:

    % spamcounts -d tmp/tte.db -r '(?i)content-type'
    db: tmp/tte.db
    token,nspam,nham,spam prob
    content-type:text/x-vcard,0,1,0.155172413793
    content-type:application/x-pkcs7-signature,0,1,0.155172413793
    content-type:application/octet-stream,8,1,0.862421442234
    content-type:text/plain,308,408,0.410282368348
    content-type:multipart/related,14,10,0.562145227031
    content-type:image/bmp,0,1,0.155172413793
    content-type:multipart/alternative,162,123,0.54816049659
    content-type:text/html,266,134,0.646358868367
    content-type/type:multipart/alternative,8,7,0.512537871748
    content-type:message/delivery-status,4,3,0.548176609577
    content-type:multipart/report,5,3,0.600000679352
    content-type:audio/x-midi,1,0,0.844827586207
    content-type:image/jpeg,4,4,0.480634749866
    content-type:application/vnd.ms-excel,0,1,0.155172413793
    content-type:message/rfc822,7,11,0.372799628897
    content-type:multipart/mixed,60,40,0.579842359246
    content-type:plain/text,2,0,0.908163265306
    content-type:application/ms-tnef,4,0,0.949438202247
    content-type:application/x-msdownload,1,0,0.844827586207
    content-type:image/gif,6,5,0.524107121834
    content-type:application/pgp-signature,0,1,0.155172413793
    content-type:application/msword,0,1,0.155172413793
    content-type:multipart/signed,0,2,0.0918367346939
    content-type:text/rfc822-headers,1,1,0.483302411874
    content-type:image/pjpeg,0,1,0.155172413793
    content-type:multipart/digest,0,5,0.0412844036697

Skip



More information about the spambayes-dev mailing list