X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/6e9cb1a22b909189a5e5314d51a7249db899ef65..0ca203ebccad19e90b5826facf8ed0031c29682c:/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" +}