From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B7F4D13800E for ; Mon, 23 Jul 2012 21:45:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3608BE06AF; Mon, 23 Jul 2012 21:45:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AD658E0660 for ; Mon, 23 Jul 2012 21:43:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 219901B437E for ; Mon, 23 Jul 2012 21:43:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -2.54 X-Spam-Level: X-Spam-Status: No, score=-2.54 tagged_above=-999 required=5.5 tests=[AWL=0.060, BAYES_00=-1.9, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id esFhLk2USnY1 for ; Mon, 23 Jul 2012 21:43:34 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by smtp.gentoo.org (Postfix) with ESMTP id 5A3C71B43A1 for ; Mon, 23 Jul 2012 21:43:32 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgoKAG6Zu09MCqVl/2dsb2JhbABEsnYDgRiBCIJWHHImJSQTiA6YUqE3i2KEAGIDjT6HXIVfiDqBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="193898738" Received: from 76-10-165-101.dsl.teksavvy.com (HELO waltdnes.org) ([76.10.165.101]) by ironport2-out.teksavvy.com with SMTP; 23 Jul 2012 17:43:30 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Mon, 23 Jul 2012 17:43:13 -0400 From: "Walter Dnes" Date: Mon, 23 Jul 2012 17:43:13 -0400 To: Gentoo Users List Subject: [gentoo-user] OT: How to make mutt open files by *EXTENSION*? Message-ID: <20120723214313.GA3298@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 007d7619-b015-4d61-b252-1971e7dd9b6e X-Archives-Hash: 2be7c72e2f422d493066246f540bcdd9 My ISP emails invoices+receipts as PDF files. Thay made a change in the "mime type" earlier this year that makes things more difficult... Before ====== [-- Attachment #2: blah_blah_blah.pdf --] [-- Type: application/pdf, Encoding: base64, Size: 47K --] [-- application/pdf is unsupported (use 'v' to view this part) --] After ===== [-- Attachment #2: blah_blah_blah.pdf --] [-- Type: application/octet-stream, Encoding: base64, Size: 79K --] [-- application/octet-stream is unsupported (use 'v' to view this part) --] With "Type: application/pdf" I hit "v" and epdfview brought up the document. With "Type: application/octet-stream" I have to save the attachment and manually open with epdfview. Mime-type is useless in this situation. Is there a way to force the file to be opened based on extension rather than mime type? -- Walter Dnes