From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42879 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME Encoding of attachments Date: Sat, 02 Feb 2002 13:00:18 +1100 Organization: Not today, thank you, Mother. Sender: owner-ding@hpc.uh.edu Message-ID: <87zo2s3aod.fsf@inanna.rimspace.net> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178062 14558 80.91.224.250 (21 Oct 2002 05:27:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:27:42 +0000 (UTC) Return-Path: Original-Received: (qmail 22262 invoked from network); 2 Feb 2002 05:07:53 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Feb 2002 05:07:53 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16WsOr-0002et-00; Fri, 01 Feb 2002 23:07:42 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 01 Feb 2002 23:07:25 -0600 (CST) Original-Received: from epithumia.math.uh.edu (epithumia.math.uh.edu [129.7.128.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id XAA11256 for ; Fri, 1 Feb 2002 23:06:38 -0600 (CST) Original-Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.11.2/8.11.1) id g1256aH07197 for ding@hpc.uh.edu; Fri, 1 Feb 2002 23:06:36 -0600 Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id UAA11041 for ; Fri, 1 Feb 2002 20:34:50 -0600 (CST) Original-Received: (qmail 18737 invoked by alias); 2 Feb 2002 02:34:46 -0000 Original-Received: (qmail 18731 invoked from network); 2 Feb 2002 02:34:46 -0000 Original-Received: from melancholia.rimspace.net (HELO melancholia.danann.net) (210.23.138.19) by gnus.org with SMTP; 2 Feb 2002 02:34:46 -0000 Original-Received: from localhost (melancholia.rimspace.net [210.23.138.19]) by melancholia.danann.net (Postfix) with ESMTP id 7D6A22A826 for ; Sat, 2 Feb 2002 13:00:37 +1100 (EST) Original-Received: by localhost (Postfix, from userid 1000) id D3548822FC; Sat, 2 Feb 2002 13:00:19 +1100 (EST) Original-To: ding@gnus.org In-Reply-To: (Mark Thomas's message of "Fri, 01 Feb 2002 14:51:23 -0500") Original-Lines: 44 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42879 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42879 On Fri, 01 Feb 2002, Mark Thomas wrote: > I regularly deal with an MTA that wraps lines that are longer than >~~120 characters. Complain bitterly to postmaster@stupid.domain and get them to replace the b0rken MTA with some that can, like, actually not arbitrarily corrupt data. ;) [...] > What is the "correct" way to handle this? Should I just use > application/octet-stream as the type? No, that will not help. You need something that will force the content to be wrapped at < 120 characters. So, it's the content-transfer-encoding that you need to change. Of course, changing this means that plain text attachments are not going to be readable any more without MIME decoding tools... > Currently I set mm-use-ultra-safe-encoding to t, which seems > excessive; besides, the doc-string for that variable says it should > not be set directly. >>>From the sound of it, it /should/ work, but it's a bit of a sledgehammer... > Instead of having Gnus decide how to encode a part on its own, is > there some way I tell Gnus to use a particular encoding for a part? > Some special "encoding" tag I can add to the MML line, for example? In theory, yes. You /should/ be able to specify 'encoding=base64' to make this work, or possible, 'qp'. I found this to be broken last time I tried it. Get the idiots running the broken MTA to fix it. ;) Daniel -- > What should I look for in a good bird bath? And in response, thus spake the Oracle: } In a good bird bath? I'd expect to find birds. } In a bad bird bath, tarantulas.