On 2002-03-01 Gary Johnson wrote:
> On Fri, Mar 01, 2002 at 10:57:17AM +0100, Christoph Maurer wrote:
> > On 2002-03-01 Will Yardley wrote:
> > > Alexander Skwar wrote:
> > > > 
> > > > Rather often I get mails with attachments where the attachment is of
> > > > type application/octet-stream instead of the correct type (let's say
> > > > image/png).  However, the attached file still has the correct extension
> > > > (eg. .png or .PNG).
> > > 
> > > i think you need either the appoct patch for mutt, or a shell script
> > > like this one:
> > 
> > What does this patch do and where can I get it?
> 
> As I understand it, this patch recognizes application/octet-stream
> attachments, finds the filename extension, uses that to look up the
> proper content type in the mime_types file, then continues the
> processing of the attachment following the rules in the mailcap file.
> [...] 
> Yes.  The mutt.octet.filter was designed to view attachments in-line, so
> it doesn't help with attachments requiring a graphical viewer.  The
> patch lets you manage the viewing of octet-stream attachments with your
> mailcap file just as though they had been attached with the proper
> Content-Type, and lets you keep all your viewer rules in one place
> instead of two.

Thanks for the information. I think this patch can be very helpful.
Up two now I use mutt.octet.filter which I have somewhat adapted so
that I can also use it with external (graphical) viewers.

Regards,

Christoph 

-- 
Christoph Maurer - D - 52072 Aachen
mailto:[EMAIL PROTECTED] - http://www.christophmaurer.de
On my Homepage: SuSE 7.0 on an Acer Travelmate 508 T Notebook

Reply via email to