[Discuss] mutt, mailcap

dan moylan jdm at moylan.us
Tue Oct 9 17:42:16 EDT 2018


running fc28, and mutt for mail, using the following ~/.mailcap

# .mailcap

image/jpeg;            eog %s
application/pdf;       evince %s
text/html;             firefox %s
application/msword;    libreoffice %s
application/vnd.openxm libreoffice %s

when i send out a message with the following attachments (as seen by mutt)

  I     1 <no description>                        [text/plain, 7bit, us-ascii, 0.3K]
  A     2 indypass0.jpg                                   [image/jpeg, base64, 3.1M]
  A     3 Behind_the_Bush_score.pdf                      [applica/pdf, base64, 132K]
  A     4 ba181019.htm                             [text/html, 7bit, us-ascii, 0.6K]
  A     5 amz1228.htm                               [text/html, 7bit, us-ascii, 48K]
  A     6 f-MountainDew.doc                            [applica/msword, base64, 77K]
  A     7 gutierrez.docx                           [applica/vnd.openxm, base64, 24K]
  A     8 leaseadd.docx                            [applica/vnd.openxm, base64, 25K]

the .jpg, .pdf, .doc attachments are displayed correctly --
the htm and docx files are not.

htm:
no explanation, just displayed as text.

docx:
"No matching mailcap entry found.  Viewing as text."

if i try (in mailcap):
image/jpeg;            firefox %s

that shows as expected.

any suggestions would be welcome.

ole dan

j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-777-0207 (cel)
jdm at moylan.us
www.moylan.us
[no html pls]



More information about the Discuss mailing list