Re: (emacs) Parsing problems replying to encrypted html
authorMatthew Lear <matt@bubblegen.co.uk>
Mon, 7 Mar 2016 09:24:03 +0000 (09:24 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:14 +0000 (16:21 -0700)
98/754f2d731108c0d15aa0ad5edd480186ebc48e [new file with mode: 0644]

diff --git a/98/754f2d731108c0d15aa0ad5edd480186ebc48e b/98/754f2d731108c0d15aa0ad5edd480186ebc48e
new file mode 100644 (file)
index 0000000..e0e20a0
--- /dev/null
@@ -0,0 +1,104 @@
+Return-Path: <matt@bubblegen.co.uk>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 3D5E26DE0274\r
+ for <notmuch@notmuchmail.org>; Mon,  7 Mar 2016 01:34:13 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.505\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.505 tagged_above=-999 required=5 tests=[AWL=0.215,\r
+  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id Ahqwd5f1R9s3 for <notmuch@notmuchmail.org>;\r
+ Mon,  7 Mar 2016 01:34:11 -0800 (PST)\r
+X-Greylist: delayed 458 seconds by postgrey-1.35 at arlo;\r
+ Mon, 07 Mar 2016 01:34:10 PST\r
+Received: from avasout06.plus.net (avasout06.plus.net [212.159.14.18])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id CCF376DE0244\r
+ for <notmuch@notmuchmail.org>; Mon,  7 Mar 2016 01:34:10 -0800 (PST)\r
+Received: from mail.bubblegen.co.uk ([80.229.236.194]) by avasout06 with smtp\r
+ id SxST1s00A4CLJ5401xSUiG; Mon, 07 Mar 2016 09:26:29 +0000\r
+X-CM-Score: 0.00\r
+X-CNFS-Analysis: v=2.1 cv=Rr04V3SK c=1 sm=1 tr=0\r
+ a=G4bc5lkgapKKm1P+Twxy3Q==:117 a=G4bc5lkgapKKm1P+Twxy3Q==:17\r
+ a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10\r
+ a=3pgnp_W3OlOENp3nLmEA:9 a=QEXdDO2ut3YA:10\r
+Subject: Re: (emacs) Parsing problems replying to encrypted html\r
+To: David Edmondson <dme@dme.org>\r
+References: <f50e07855e9bbbdd780ef925d8e2d879.squirrel@webmail.plus.net>\r
+ <m2a8miwc6x.fsf@dme.org>\r
+ <c4ff9f2c141441be10b1cb4b1e0300a7.squirrel@webmail.plus.net>\r
+Cc: notmuch@notmuchmail.org\r
+From: Matthew Lear <matt@bubblegen.co.uk>\r
+Message-ID: <56DD48B3.90604@bubblegen.co.uk>\r
+Date: Mon, 7 Mar 2016 09:24:03 +0000\r
+MIME-Version: 1.0\r
+In-Reply-To: <c4ff9f2c141441be10b1cb4b1e0300a7.squirrel@webmail.plus.net>\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: 8bit\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 07 Mar 2016 09:34:13 -0000\r
+\r
+On 01/03/16 13:59, Matthew Lear wrote:\r
+>> There is probably a bug here.\r
+>>\r
+>> On Tue, Mar 01 2016, Matthew Lear wrote:\r
+>>> Notmuch shows this as:\r
+>>>\r
+>>> [ multipart/encrypted ]\r
+>>> [ Decryption successful ]\r
+>>> [ Good signature by:  xxxx ]\r
+>>> [ application/pgp-encrypted ]\r
+>>> Version: 1\r
+>>> [ multipart/mixed ]\r
+>>> [ multipart/alternative ]\r
+>>> [ text/plain (hidden) ]\r
+>>> [ multipart/related ]\r
+>>> [ text/html (hidden) ]\r
+>>> [ image.jpg: image/jpeg (hidden) ]\r
+>>\r
+>> You're saying here that you don't get shown the text/html part?\r
+> \r
+> Apologies. No, I do get shown the text/html part. I just collapsed all the\r
+> parts here for illustration purposes.\r
+> \r
+>>> (setq notmuch-multipart/alternative-discouraged '("text/plain"\r
+>>> "multipart/related"))\r
+>>\r
+>> I'm curious to understand why you discourage multipart/related. That's\r
+>> almost always used to wrap a text/html part with an image/jpg that the\r
+>> text/html part refers to by cid:.\r
+> \r
+> Fair point. I think I had this discouraged as a hangover from having to\r
+> deal with malformatted PGP encrypted emails. I don't receive emails from\r
+> people which have been encrypted with that sw any more so I should\r
+> probably remove it. Even with multipart/related discouraged though, I\r
+> don't have any problem with embedded images / cid etc. All displayed ok.\r
+> \r
+>> Are things different if you discourage only text/plain?\r
+> \r
+> Nope. No change.\r
+\r
+This is easy to reproduce on linux with thunderbird (I'm using v38.5.0).\r
+Edit -> Account Settings -> Composition & Addressing and check 'Compose\r
+messages in HTML format' and send yourself a pgp encrypted email using\r
+PGP/MIME, open it in notmuch-emacs and reply to it. You'll see the\r
+'Bodypart insert error'.\r
+\r
+If you need any more info let me know...\r
+\r