From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno 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: Wed, 26 Oct 2011 10:59:25 +0900 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 1319594433 23074 80.91.229.12 (26 Oct 2011 02:00:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2011 02:00:33 +0000 (UTC) Cc: 9862@debbugs.gnu.org, S=e9bastien Villemot To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 26 04:00:28 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 1RIsn6-0007Gg-Ew for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2011 04:00:28 +0200 Original-Received: from localhost ([::1]:50494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIsn5-0003MU-Fu for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 22:00:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIsn2-0003ME-DR for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 22:00:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIsn1-0005oj-Ai for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 22:00:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIsn1-0005od-3J for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 22:00:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RIsoc-0004KZ-01; Tue, 25 Oct 2011 22:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daiki Ueno Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 26 Oct 2011 02:02:01 +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.131959447916597 (code B ref 9862); Wed, 26 Oct 2011 02:02:01 +0000 Original-Received: (at 9862) by debbugs.gnu.org; 26 Oct 2011 02:01:19 +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 1RIsnu-0004Jd-No for submit@debbugs.gnu.org; Tue, 25 Oct 2011 22:01:19 -0400 Original-Received: from www10194u.sakura.ne.jp ([182.48.42.232]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIsnr-0004JU-SN for 9862@debbugs.gnu.org; Tue, 25 Oct 2011 22:01:17 -0400 In-Reply-To: (Andreas Schwab's message of "Tue, 25 Oct 2011 19:01:19 +0200") 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 22:02: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:53135 Archived-At: Andreas Schwab writes: >> --====-=-= >> 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: Thanks for pointing out this. But then, I think the MML usage in the original bug report was wrong. <#mml type=message/rfc822 ...> should be followed by at least one rfc822 header lines such as "Subject: foo\n", like this: <#!secure method=pgpmime mode=sign> <#mml type=message/rfc822 disposition=inline> Subject: foo <#multipart type=mixed> <#part type=text/plain disposition=inline nofile=yes> Foo <#/multipart> <#/mml> Anyway, it seems the original bug has already been fixed in the latest Gnus. Can we close this? Regards, -- Daiki Ueno