Sometimes I receive email attachments whose mimetypes are not in my mailcap file. To open such attachments from mutt, I usually select the attachment from the list, hit s
to save the file to /tmp
, and then use !
to open the saved file with whatever application suits, using a shell command.
Is it possible to automate this with a mutt macro, which simply saves the selected attachment to /tmp
, queries for an application name, and then opens the saved file with this application?