yes I get the same crap its caused when some dopey user has the default setup on "outbreak" (outlook) to send mail in Richtext instead of plain text or html...What happens the attached file is encapsulated in a file usually named winmail.dat and you need a TNEF stripper program to strip the attachment out of the winmail.dat file. I get these every now and again and Ive written a shell script and tell the users to dump it on the desktop and click on the file the shell script then changes the winmail.dat file usually into a pdf file.
Although lately Ive told the email server to strip the file out of any attachment called winmail.dat with the tnef program and to replace the attachment with the resulting file (usually a pdf) so far so good. On Tue, 2004-03-02 at 08:45, Broun, Bevan wrote: > 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 garantas > > GNU/Linux | bsicas de un Estado democrtico de derecho. > > Software Libre | Carta del DR. VILLANUEVA NUEZ. > > > > > -- > > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- GPLG GPLGPLGP GPLGPLGPLGP GPLGP GPL MICROSOFT GPLGP GPLGPLGPLGP GPLGPLGPL GPLGPL Richard Neal <[EMAIL PROTECTED]> -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
