# html text/html; w3m -dump -I %{charset} -T text/html %s; needsterminal; copiousoutput # application/octet-stream #application/octet-stream; mutt.octet.filter %s; needsterminal; copiousoutput # pgp encrypted multipart/encrypted; showencrypted %{boundary} %s; \ test=test %{protocol} = application/pgp-encrypted; needsterminal multipart/signed; showsigned %{boundary} %s; \ test=test %{protocol} = application/pgp-signature; needsterminal #application/octet-stream; gpg -d < %s ; needsterminal; \ # test=/usr/local/bin/is-pgp ; copiousoutput application/pgp; gpg < %s ; needsterminal; \ test=test %{encapsulation}=entity application/pgp-encrypted; gpg < %s ; needsterminal; \ test=test %{encapsulation}=entity ; copiousoutput application/x-tar; tar -tf %s ; copiousoutput # office application/pdf; mutt_bgrun evince %s application/msword; mutt_bgrun libreoffice %s application/vnd.oasis.opendocument.text; mutt_bgrun libreoffice %s # pictures image/png; mutt_bgrun gpicview %s image/jpeg; mutt_bgrun gpicview %s image/jpg; mutt_bgrun gpicview %s image/gif; mutt_bgrun gpicview %s