On Wed, Apr 25, 2012 at 07:18:17 +0100, Chris Burdess wrote: > mutt won't care about the contents of the file, it only looks at the > mime type and encoding. In your example above the content-type is > truncated. You need to look at the complete content-type string and > ensure that it matches what you have in your mailcap.
In case it's not obvious, here are two possible ways to see the complete Content-Type string: 1) enter the Attachment menu (eg press the "v" key), select the attachment in question, then press Ctrl-E to invoke the "edit-type" function. You will be presented a line of text to edit, which will include the full Content-Type string for that attachment. (You can then press Ctrl-G to abort the edit.) 2) when you are viewing the message in the index or the pager, you can use the "|" command to pipe the message to the command grep Content-Type: ; that will show you the Content-Type lines for the message as a whole as well as each of the attachments. Nathan