X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/6e9cb1a22b909189a5e5314d51a7249db899ef65..e240fb6eb8ba566a5791c64ec924a0416829aaed:/procmail/tnef-filter diff --git a/procmail/tnef-filter b/procmail/tnef-filter index b1d52da..790a25c 100644 --- a/procmail/tnef-filter +++ b/procmail/tnef-filter @@ -1,4 +1,9 @@ -:0 fw -* ^X-MS-TNEF-Correlator: -* B ?? winmail.dat -|ytnef-filter +:0 +* ^X-MS-TNEF-Correlator: < +* B ?? ^Content-Type: application/ms-tnef +{ + :0 fw + |$MAILFILT/bin/killtnef | $FORMAIL -IX-MS-Has-Attach: -IX-MS-Tnef-Correlator: \ + -IX-MimeOLE: -IContent-Class: -I'X-Tnef: killed' + LOG="tnef-filter: converted TNEF attachment$NL" +}