From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22000 invoked by alias); 14 Nov 2009 13:47:43 -0000 Received: (qmail 21990 invoked by uid 22791); 14 Nov 2009 13:47:41 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ey-out-1920.google.com (HELO ey-out-1920.google.com) (74.125.78.148) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 Nov 2009 13:46:58 +0000 Received: by ey-out-1920.google.com with SMTP id 3so4690570eyh.14 for ; Sat, 14 Nov 2009 05:46:55 -0800 (PST) Received: by 10.213.23.87 with SMTP id q23mr763132ebb.75.1258206415792; Sat, 14 Nov 2009 05:46:55 -0800 (PST) Received: from ?192.168.2.99? (cpc2-cmbg8-0-0-cust61.cmbg.cable.ntl.com [82.6.108.62]) by mx.google.com with ESMTPS id 7sm2384861eyb.32.2009.11.14.05.46.53 (version=SSLv3 cipher=RC4-MD5); Sat, 14 Nov 2009 05:46:54 -0800 (PST) Message-ID: <4AFEB876.2060709@gmail.com> Date: Sat, 14 Nov 2009 13:47:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Dave Korn CC: Thread TITTTL'd Subject: Re: [OT] Re: Problem [1.7]: gzip missing in brand new install References: <4AFE8BA6.8000505@bonhard.uklinux.net> <4AFEA645.40508@gmail.com> <4AFEA92A.6010801@gmail.com> <4AFEAC6B.5080703@gmail.com> <4AFEAFEF.4060800@gmail.com> <4AFEB1E0.4020602@gmail.com> <4AFEB37E.8030902@gmail.com> <4AFEB49A.8030606@gmail.com> In-Reply-To: <4AFEB49A.8030606@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Vulgar and Unprofessional Cygwin-Talk List Mail-Followup-To: cygwin-talk@cygwin.com X-SW-Source: 2009-q4/txt/msg00038.txt.bz2 Dave Korn wrote: > Dave Korn wrote: >> Dave Korn wrote: >>> Dave Korn wrote: >>>> Dave Korn wrote: >>>>> Meow. >>>> Meow. >>> Meow. >> Meow. > Meow. Meow. > Ta-daaa indeed, but it occurs to me I can probably even remove the > mail.file_attach_binary setting now that I've not got a bogus mime type being > specified. Let's see: > > http://cygwin.com/ml/cygwin-talk/2009-q4/msg00036.html Ok, that worked. Here's the recipe, for Eric, and Fergus, and The Record: #1. Set mail.content_disposition_type to 1. Necessary to get the correct Content-Disposition: header, but not sufficient. #2. Get MIME types database under control. I used an extension called MimeEDIT(*), but it only works on series 2 Tbird. OTOH the database is stored in a plain-text xml format in a file called mimeTypes.rdf in your T'bird profile directory, and it looks easy enough to manually edit. Whichever method you choose, BACK IT UP FIRST!(**) T'bird will select a mime Content-Type: header for your attachment based on the fileExtension settings listed in here; in my case, the extension .out had become associated with message/news somehow, and the archive displays message/* attachments inline even if the content-disposition says not to. Some sources recommend simply deleting mimeTypes.rdf wholesale, but I chose just to tweak the content so that it now thinks .msg is the extension for message/news. YMMV (Your Mimetypes.rdf May Vary), but as long as it's not choosing a bogus mime type based on your file extension, you'll get a default of text/plain, which the archive won't expand inline. cheers, DaveK -- (*) - https://addons.mozilla.org/en-US/thunderbird/addon/4498 (**) - Just because something goes without saying, doesn't mean folk will actually do it when the time comes. So I said it anyway. Not that that generally makes a lot of difference ... :-)