Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] OT: How to make mutt open files by *EXTENSION*?
Date: Mon, 23 Jul 2012 21:45:22
Message-Id: 20120723214313.GA3298@waltdnes.org
1 My ISP emails invoices+receipts as PDF files. Thay made a change in
2 the "mime type" earlier this year that makes things more difficult...
3
4 Before
5 ======
6 [-- Attachment #2: blah_blah_blah.pdf --]
7 [-- Type: application/pdf, Encoding: base64, Size: 47K --]
8
9 [-- application/pdf is unsupported (use 'v' to view this part) --]
10
11 After
12 =====
13 [-- Attachment #2: blah_blah_blah.pdf --]
14 [-- Type: application/octet-stream, Encoding: base64, Size: 79K --]
15
16 [-- application/octet-stream is unsupported (use 'v' to view this part) --]
17
18 With "Type: application/pdf" I hit "v" and epdfview brought up the
19 document. With "Type: application/octet-stream" I have to save the
20 attachment and manually open with epdfview. Mime-type is useless in
21 this situation. Is there a way to force the file to be opened based on
22 extension rather than mime type?
23
24 --
25 Walter Dnes <waltdnes@××××××××.org>

Replies

Subject Author
Re: [gentoo-user] OT: How to make mutt open files by *EXTENSION*? Todd Goodman <tsg@×××××××××.net>