X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/12aa14e5e0b32bb76a18b5ac7e27210f7b19c0ea..a18093425a78a5b46f3d95809c757f8e6e66eb89:/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" +}