procmail
[Top] [All Lists]

winmail.dat (was Re: Sig length scoring)

1997-05-31 10:28:00
On Sat, May 31, 1997 at 06:10:20PM +0200, Ben Stuyts wrote:
Just today I received another of those emails with 5 lines of text and a 6 KB
WINMAIL.DAT file uuencoded at the end. Sounds like a similar problem to
tackle!

For a long time, I've had the following recipe in my .procmailrc:

:0 fbw
* X-MS-Attachment: WINMAIL.DAT
| awk '/^begin [0-9]* WINMAIL.DAT/ {n=1} n==0 {print} /^end/ {n=0}'

  :0 Afhw
  | formail -i Encoding: -I X-MS-Attachment:

But I've already received mails from Micro$oft Mail with a MIME attachment
ms-tnef (or something like that). Does anyone have a recipe for this one?

-- 
Vincent Lefevre, vlefevre(_at_)ens-lyon(_dot_)fr | Acorn Risc PC, StrongARM @ 
202MHz
http://www.ens-lyon.fr/~vlefevre      | 20+1MB RAM, Eagle M2, TV + Teletext
PhD in Computer Science, 1st year     | Apple CD-300, SyQuest 270MB (SCSI)
-----------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>