On Mon, Nov 19, 2012 at 10:41:48AM -0800, Gary Johnson wrote: > On 2012-11-19, Suvayu Ali wrote: > > Hi, > > > > I often get attachments with completely wrong MIME types. For example > > today I received a pdf and a doc file as application/octet-stream. Is > > there anyway to bypass my mailcap and ask mutt to open the attachment > > with the proper application? So in this particular case, I would want > > to open the pdf file with evince and the doc file with LibreOffice. > > > > Thanks for any hints, > > For application/octet-stream attachments, put this in your muttrc: > > mime_lookup application/octet-stream > > That tells mutt to determine the correct MIME type by looking up the > file name extension in your mime.types file >
This works beautifully! Thanks a lot. :) -- Suvayu Open source is the future. It sets us free.