From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69662 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.emacs.gnus.general Subject: bad boundary choice in forwarded multipart/signed multipart/mixed Date: Thu, 29 Apr 2010 11:11:22 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="==-=-=" X-Trace: dough.gmane.org 1272554876 30924 80.91.229.12 (29 Apr 2010 15:27:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2010 15:27:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18053@lists.math.uh.edu Thu Apr 29 17:27:56 2010 connect(): No such file or directory Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O7Ved-00029l-9s for ding-account@gmane.org; Thu, 29 Apr 2010 17:27:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1O7VdW-0008B8-7I; Thu, 29 Apr 2010 10:26:46 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1O7VPC-000872-70 for ding@lists.math.uh.edu; Thu, 29 Apr 2010 10:11:58 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1O7VP9-00026c-Eb for ding@lists.math.uh.edu; Thu, 29 Apr 2010 10:11:57 -0500 Original-Received: from linuxpal.mit.edu ([18.62.1.14]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1O7VP8-0003vC-00 for ; Thu, 29 Apr 2010 17:11:54 +0200 Original-Received: by linuxpal.mit.edu (Postfix, from userid 9545) id 380E117BEC; Thu, 29 Apr 2010 11:11:52 -0400 (EDT) X-Hashcash: 1:20:100429:ding@gnus.org::aEflmIKmiCf6zBGg:00000g2w User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (berkeley-unix) X-Hashcash: 1:20:100429:gnus@ding.org::XZbzNdruT6dDhOto:00007Xes X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69662 Archived-At: --=-=-= Content-Type: multipart/mixed; boundary="==-=-=" --==-=-= Using gnus from CVS about a month ago I forwarded one of my own signed messages that itself contained a forwarded message, and a colleague pointed out that the MIME boundary string had been reused. That particular example can't be sent to this list, but I managed to reproduce the problem with test messages. The inner test message had boundary =-=-= originally. That got remapped whent he message was forwarded, which I suppose is ok. But it got remaped to ===-=-= and that's the same value that was chosen for the outer message's multipart/signed. The below was generated with current CVS head epg and gnus git as of: commit 3aa91c009017b508c0f6298f7e8ee3a622bdccc2 Author: Katsumi Yamaoka Date: Tue Apr 27 06:38:57 2010 +0000 Don't load tm and apel XEmacs packages when compiling. It looks like the key code is in mml.el in gnus, but I haven't understood it yet. Is perhaps the issue that the multipart/signed code is called without the forwarded heder visible, and then the forwarded header is also changed to the same value. --==-=-= Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on linuxpal.mit.edu X-Spam-Level: X-Spam-Status: No, score=-44.4 required=1.0 tests=BAYES_00,HASHCASH_20, NO_RELAYS,T_MIME_NO_TEXT,T_TVD_MIME_EPI,T_TVD_MIME_NO_HEADERS autolearn=no version=3.3.1 X-Spam-DCC: :_DCCR X-Original-To: gdt@work.lexort.com Delivered-To: gdt@linuxpal.mit.edu Received: by linuxpal.mit.edu (Postfix, from userid 9545) id 6E87117BEC; Thu, 29 Apr 2010 11:00:39 -0400 (EDT) X-Hashcash: 1:20:100429:gdt@work.lexort.com::ZGhP82UwHgrGZvFl:0000000000000000000000000000000000000000007mBb From: Greg Troxel To: Greg Troxel Subject: [Greg Troxel] test message Date: Thu, 29 Apr 2010 11:00:39 -0400 Message-ID: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="====-=-=" --====-=-= Content-Type: multipart/mixed; boundary="=====-=-=" --=====-=-= forward of multipart/mixed as multipart/signed --=====-=-= Content-Type: message/rfc822 Content-Disposition: inline --=======-=-=-- MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=======-=-=" --=====-=-=-- --====-=-= Test multipart/mixed message. --====-=-= Content-Disposition: inline; filename=foo.txt test attachment --===-=-=-- --=-=-=-- --====-=-= Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuNC4xMCAoTmV0 QlNEKQoKaUVZRUFSRUNBQVlGQWt2Wm54Y0FDZ2tRSDlwNjZBbU8xZzd1RVFDZVBBclhaRkN4dHFS c3FqUEwvdnd3c202SQpWZElBblIvSnI3ditsQmEyUVZoaDdtYzJSaGxUaFo2Nwo9YVJRUwotLS0t LUVORCBQR1AgU0lHTkFUVVJFLS0tLS0= --====-=-=-- --==-=-=-- --=-=-= Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuNC4xMCAoTmV0 QlNEKQoKaUVZRUFSRUNBQVlGQWt2Wm9ab0FDZ2tRSDlwNjZBbU8xZzdDMUFDZU94YXc1VFFQMzhM Qkt4S1RRbldiY2llSgpjVmtBbjF0RzRoc3k3OXE2dmppZzdnVklDYWxpaXR5dgo9L3QySgotLS0t LUVORCBQR1AgU0lHTkFUVVJFLS0tLS0= --=-=-=--