commit 5b2f1d8d1cc75a37dda51b06aa2e9c28bdb14b22 from: Omar Polo date: Tue Sep 13 19:30:17 2022 UTC retire filter-export; set everything to filter-ignore commit - f3481d062eb9757f517e16c8fef8430a19c3a5bb commit + 5b2f1d8d1cc75a37dda51b06aa2e9c28bdb14b22 blob - fe9442ca1d9f5c416c01d5d19af1c29232d02ee2 blob + cf91ebd21cbbd620b0c8a8d3fa8b95c264c1c684 --- .mblaze/filter +++ .mblaze/filter @@ -1,11 +1,5 @@ -#: Use ./filter-ignore to silently ignore an attachment and -#: ./filter-export to export it. text/* is already handled -#: by mshow(1). -application/pgp-signature: ./filter-ignore -application: ./filter-export +#: text/* is already handled by mshow(1). +application: ./filter-ignore audio: ./filter-ignore -image/gif: ./filter-export -image/jpeg: ./filter-export -image/png: ./filter-export image: ./filter-ignore video: ./filter-ignore blob - 6c57c9cf546795683b9ec42f77babf6fb44fe78b (mode 755) blob + /dev/null --- filter-export +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -path="$(cd $OUTDIR && mktemp parts/$MESSAGE_ID.XXXXXXXXXX)" - -# save the input -cat > "$OUTDIR/$path" -chmod a+r "$OUTDIR/$path" - -echo "
  • $(file -b "$OUTDIR/$path")
  • " >> $PARTS_PATH -exit 0