Subject: bug#9862: 23.3; [Gnus/EasyPG] Mixing PGP/MIME signature with RFC822 forwarded multipart message results in an invalid MIME message

From: Daiki Ueno <[email-masked]>
Date: Wed, 26 Oct 2011 10:59:25 +0900

Andreas Schwab <[email-masked]> 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