From 53d3033b5924552d17d17910471676aec568107c Mon Sep 17 00:00:00 2001 From: Matthew Lear Date: Tue, 1 Mar 2016 21:59:09 +0000 Subject: [PATCH] Re: (emacs) Parsing problems replying to encrypted html --- 42/e232194757fa96df32c7e25693f7bcef04c347 | 104 ++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 42/e232194757fa96df32c7e25693f7bcef04c347 diff --git a/42/e232194757fa96df32c7e25693f7bcef04c347 b/42/e232194757fa96df32c7e25693f7bcef04c347 new file mode 100644 index 000000000..6854e1231 --- /dev/null +++ b/42/e232194757fa96df32c7e25693f7bcef04c347 @@ -0,0 +1,104 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 853CE6DE1479 + for ; Tue, 1 Mar 2016 05:59:14 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.458 +X-Spam-Level: +X-Spam-Status: No, score=-0.458 tagged_above=-999 required=5 tests=[AWL=0.262, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id xIFzJF8a-A7Y for ; + Tue, 1 Mar 2016 05:59:12 -0800 (PST) +Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) + by arlo.cworth.org (Postfix) with ESMTPS id 5C9E86DE141E + for ; Tue, 1 Mar 2016 05:59:11 -0800 (PST) +Received: from webmail04.plus.net ([84.93.228.66]) by avasout07 with smtp + id Qdz91s0031SbfYc01dzAns; Tue, 01 Mar 2016 13:59:10 +0000 +X-CM-Score: 0.00 +X-CNFS-Analysis: v=2.1 cv=QqujpgGd c=1 sm=1 tr=0 + a=C5+YawzV8SR07mwocaP9vA==:117 a=G4bc5lkgapKKm1P+Twxy3Q==:17 + a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=8nJEP1OIZ-IA:10 + a=7OsogOcEt9IA:10 a=GmsYLbB6KjDZExrHqMUA:9 a=wPNLvfGTeEIA:10 +Received: from localhost ([127.0.0.1] helo=webmail.plus.net) + by webmail04.plus.net with esmtp (Exim 4.76) + (envelope-from ) + id 1aakpQ-0003hD-Sz; Tue, 01 Mar 2016 13:59:09 +0000 +Received: from 80.229.236.194 (SquirrelMail authenticated user bubblegen+matt) + by webmail.plus.net with HTTP; Tue, 1 Mar 2016 13:59:09 -0000 +Message-ID: +In-Reply-To: +References: + +Date: Tue, 1 Mar 2016 13:59:09 -0000 +Subject: Re: (emacs) Parsing problems replying to encrypted html +From: "Matthew Lear" +To: "David Edmondson" +Cc: matt@bubblegen.co.uk, + notmuch@notmuchmail.org +Reply-To: matt@bubblegen.co.uk +User-Agent: SquirrelMail +MIME-Version: 1.0 +Content-Type: text/plain;charset=iso-8859-1 +Content-Transfer-Encoding: 8bit +X-Priority: 3 (Normal) +Importance: Normal +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 01 Mar 2016 13:59:14 -0000 + +> There is probably a bug here. +> +> On Tue, Mar 01 2016, Matthew Lear wrote: +>> Notmuch shows this as: +>> +>> [ multipart/encrypted ] +>> [ Decryption successful ] +>> [ Good signature by: xxxx ] +>> [ application/pgp-encrypted ] +>> Version: 1 +>> [ multipart/mixed ] +>> [ multipart/alternative ] +>> [ text/plain (hidden) ] +>> [ multipart/related ] +>> [ text/html (hidden) ] +>> [ image.jpg: image/jpeg (hidden) ] +> +> You're saying here that you don't get shown the text/html part? + +Apologies. No, I do get shown the text/html part. I just collapsed all the +parts here for illustration purposes. + +>> (setq notmuch-multipart/alternative-discouraged '("text/plain" +>> "multipart/related")) +> +> I'm curious to understand why you discourage multipart/related. That's +> almost always used to wrap a text/html part with an image/jpg that the +> text/html part refers to by cid:. + +Fair point. I think I had this discouraged as a hangover from having to +deal with malformatted PGP encrypted emails. I don't receive emails from +people which have been encrypted with that sw any more so I should +probably remove it. Even with multipart/related discouraged though, I +don't have any problem with embedded images / cid etc. All displayed ok. + +> Are things different if you discourage only text/plain? + +Nope. No change. + + -- 2.26.2