> that's what is there in my mailcap file: > > application/vnd.openxmlformats- > officedocument.wordprocessingml.document; soffice -no-oosplash --writer > '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; > description="Office Open XML Document"; nametemplate=%s.docx > > but in fact the spaces in the name of my file does not matter because I > have the same problem with the file attached: > A Cher.docx [applica/vnd.openxm, > base64, 16K] > > > Gerard, it would be helpful if you posted the error that mutt > displays > > when it fails. > > mutt doesn't fail, it simply can't use libreoffice to display the file > Cher.docx : > > No matching mailcap entry found. Viewing as text. > > Perhaps this is due to the bad quality of some files .docx ?
If' it's complaining that there's no matching mailcap entry, your most likely problem is that there's no matching mailcap entry. The two examples you provided display a truncated MIME type. They may appear to match based on those truncated MIME types, but most likely they are different.
smime.p7s
Description: S/MIME cryptographic signature