From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#9862: 23.3; [Gnus/EasyPG] Mixing PGP/MIME signature with RFC822 forwarded multipart message results in an invalid MIME message Date: Tue, 25 Oct 2011 19:01:19 +0200 Message-ID: References: <87ipneqg8y.fsf@brouzouf.villemot.name> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319562161 800 80.91.229.12 (25 Oct 2011 17:02:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 17:02:41 +0000 (UTC) Cc: 9862@debbugs.gnu.org, S=e9bastien Villemot To: Daiki Ueno Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 25 19:02:37 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RIkOb-0001XO-5Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 19:02:37 +0200 Original-Received: from localhost ([::1]:53840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIkOa-0007zz-PH for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 13:02:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIkOU-0007zr-Mc for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 13:02:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIkOP-0007eW-G1 for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 13:02:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIkOP-0007eS-AN for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 13:02:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RIkPy-0000kN-88; Tue, 25 Oct 2011 13:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 25 Oct 2011 17:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9862 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 9862-submit@debbugs.gnu.org id=B9862.13195621892812 (code B ref 9862); Tue, 25 Oct 2011 17:04:02 +0000 Original-Received: (at 9862) by debbugs.gnu.org; 25 Oct 2011 17:03:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIkP7-0000jH-Ac for submit@debbugs.gnu.org; Tue, 25 Oct 2011 13:03:09 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIkP4-0000io-Q1 for 9862@debbugs.gnu.org; Tue, 25 Oct 2011 13:03:08 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id E30681C02FBE; Tue, 25 Oct 2011 19:01:21 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 785141C00066; Tue, 25 Oct 2011 19:01:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id x6-xUY092bb0; Tue, 25 Oct 2011 19:01:20 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-101-171.dynamic.mnet-online.de [88.217.101.171]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 25 Oct 2011 19:01:20 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 7C156CA29C; Tue, 25 Oct 2011 19:01:19 +0200 (CEST) X-Yow: Can I have an IMPULSE ITEM instead? In-Reply-To: (Daiki Ueno's message of "Tue, 25 Oct 2011 17:16:45 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 25 Oct 2011 13:04:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53128 Archived-At: Daiki Ueno writes: > Well, I couldn't actually reproduce it. With the MML from the Debian > bug and got the following. The boundary strings look legal, but > interestingly the rendering seems to be broken. I see > "--====-=-=--\n----------\n" after the line "Foo". > > From nobody Tue Oct 25 17:04:52 2011 > Message-ID: > From: Daiki Ueno > To: ueno@unixuser.org > Subject: test > Date: Tue, 25 Oct 2011 17:04:45 +0900 > MIME-Version: 1.0 > Content-Type: multipart/signed; boundary="=====-=-="; > micalg=pgp-sha1; protocol="application/pgp-signature" > Lines: 39 > Xref: localhost.localdomain outgoing.gpg:392 > X-Gnus-Article-Number: 392 Tue, 25 Oct 2011 17:04:52 +0900 > > --=====-=-= > Content-Type: multipart/mixed; boundary="=-=-=" > > --=-=-= > Content-Type: message/rfc822 > Content-Disposition: inline > > --====-=-= > Content-Disposition: inline > MIME-Version: 1.0 > Content-Type: multipart/mixed; boundary="====-=-=" > > Foo > > --====-=-=-- This part is wrong. The boundary line "--====-=-=" needs to be moved after the rfc822 headers, like this: --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Content-Disposition: inline MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="====-=-=" --====-=-= Foo --====-=-=-- Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."