Re: Viewing attachments with wrong MIME types

2012-11-19 Thread Suvayu Ali
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 a

Re: Viewing attachments with wrong MIME types

2012-11-19 Thread Grant Edwards
On 2012-11-19, Gary Johnson wrote: > 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 Brilliant! I've been sweari

Re: Viewing attachments with wrong MIME types

2012-11-19 Thread Gary Johnson
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 t

Re: Viewing attachments with wrong MIME types

2012-11-19 Thread Suvayu Ali
Hi Mandar, On Mon, Nov 19, 2012 at 07:26:28PM +0530, Mandar Mitra wrote: > Suvayu Ali wrote (Mon, Nov 19, 2012 at 02:25:37PM +0100): > > 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 anywa

Re: Viewing attachments with wrong MIME types

2012-11-19 Thread Mandar Mitra
Suvayu Ali wrote (Mon, Nov 19, 2012 at 02:25:37PM +0100): > 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 appli