Have you saved the offending attachment to disk and then run the file command against it? You may find that it is in TNEF - Transport neutral encapulated format (dont ask why such a thing exists). If so you can find software on freshmeat to decode it.
BB on Tue, Mar 02, 2004 at 08:23:04AM +1100, Sonia Hamilton <[EMAIL PROTECTED]> wrote: > I've migrated my Windows users to Mozilla Thunderbird running off a > Linux imap server (with procmail/spamassassin filtering). Everything's > working well, except for one thing - attachments aren't being displayed > for some messages, and of course the culprits are messages sent from ms > outhouse. The message just comes up as blank; when I look at the source > I can see there's various content and attachments. > > I've got an idea that it has something to do with incorrect mime layout > and/or 7/8 bit mime, and I want to clean all email using procmail, but I > don't know what I should be looking for. I've googled - lots of stuff > about defanging outhouse mime, but nothing I could find on converting it > to a standards compliant format. Any ideas? > > Converting word documents using antiword isn't an option, as my users > want the word documents. I've found stuff on stripping html > http://www.cpan.org/authors/id/H/HI/HIGHTOWE/mime_strip.html_bodies.pl-1.4 > and attachments > http://www.impsec.org/email-tools/development/sanitizer/sanitizer.txt, > but I'll deal with that next. > > Here's the headers for a mail that doesn't work (I've stripped the > content to save space). I realise that this mail is probably spam > anyway, but my users seem to read this sort of stuff ;-) > > > Date: Thu, 26 Feb 2004 11:46:51 +1000 > > From: xx > > Subject: Ford Truck > > To: xx > > Message-id: <[EMAIL PROTECTED]> > > MIME-version: 1.0 > > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > > X-Mailer: Microsoft Outlook Express 6.00.2800.1158 > > Content-type: multipart/mixed; > > boundary="Boundary_(ID_Upv/Tdkwipyc8MNe8zJwog)" > > X-Priority: 3 > > X-MSMail-priority: Normal > > > > This is a multi-part message in MIME format. > > > > --Boundary_(ID_Upv/Tdkwipyc8MNe8zJwog) > > Content-type: multipart/alternative; > > boundary="Boundary_(ID_2KQBTOH/b1ZH5++8GtbiTg)" > > > > > > --Boundary_(ID_2KQBTOH/b1ZH5++8GtbiTg) > > Content-type: text/plain; charset=iso-8859-1 > > Content-transfer-encoding: 7BIT > > > > > > --Boundary_(ID_2KQBTOH/b1ZH5++8GtbiTg) > > Content-type: text/html; charset=iso-8859-1 > > Content-transfer-encoding: 7BIT > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <HTML><HEAD> > > > ....<snip> > > > --Boundary_(ID_2KQBTOH/b1ZH5++8GtbiTg)-- > > > > --Boundary_(ID_Upv/Tdkwipyc8MNe8zJwog) > > Content-type: application/msword; name="Bobby Sue and the Truck.doc" > > Content-transfer-encoding: base64 > > Content-disposition: attachment; filename="Bobby Sue and the Truck.doc" > > > ....<snip> > > > --Boundary_(ID_Upv/Tdkwipyc8MNe8zJwog)-- > > > > --------------020602060403090607020704-- > > -- > Sonia | Los principios elementales que animan > . | al Proyecto se vinculan a las garant�as > GNU/Linux | b�sicas de un Estado democr�tico de derecho. > Software Libre | Carta del DR. VILLANUEVA NU�EZ. > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
