X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/12aa14e5e0b32bb76a18b5ac7e27210f7b19c0ea..077b14fe096740e5a2cb4fc9d489d2712d3c8fe5:/procmail/tnef-filter diff --git a/procmail/tnef-filter b/procmail/tnef-filter index bce3199..790a25c 100644 --- a/procmail/tnef-filter +++ b/procmail/tnef-filter @@ -1,8 +1,9 @@ -VERBOSE=yes - -:0 fw -* ^X-MS-TNEF-Correlator: -* B ?? winmail.dat -|ytnef-filter - -VERBOSE=no +: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" +}