From 2b00daf8cca24324203d40a138925b7ec89cd8cf Mon Sep 17 00:00:00 2001 From: Matthew Lear Date: Sat, 23 Jul 2016 13:30:41 +0100 Subject: [PATCH] Re: Missing headers when forwarding html message as RFC822 --- 10/1d8c3506234d3d41d91c24ae911a6b88b2112a | 136 ++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 10/1d8c3506234d3d41d91c24ae911a6b88b2112a diff --git a/10/1d8c3506234d3d41d91c24ae911a6b88b2112a b/10/1d8c3506234d3d41d91c24ae911a6b88b2112a new file mode 100644 index 000000000..37b418284 --- /dev/null +++ b/10/1d8c3506234d3d41d91c24ae911a6b88b2112a @@ -0,0 +1,136 @@ +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 70A6F6DE014D + for ; Sat, 23 Jul 2016 05:30:59 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.594 +X-Spam-Level: +X-Spam-Status: No, score=-0.594 tagged_above=-999 required=5 tests=[AWL=0.126, + 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 jOYH6pmlxpx5 for ; + Sat, 23 Jul 2016 05:30:50 -0700 (PDT) +Received: from avasout05.plus.net (avasout05.plus.net [84.93.230.250]) + by arlo.cworth.org (Postfix) with ESMTPS id 491CA6DE00C8 + for ; Sat, 23 Jul 2016 05:30:49 -0700 (PDT) +Received: from [192.168.1.17] ([80.229.236.194]) by avasout05 with smtp + id NCWi1t0054CLJ5401CWjrj; Sat, 23 Jul 2016 13:30:46 +0100 +X-CM-Score: 0.00 +X-CNFS-Analysis: v=2.2 cv=Ld9+0XXi c=1 sm=1 tr=0 + a=G4bc5lkgapKKm1P+Twxy3Q==:117 a=G4bc5lkgapKKm1P+Twxy3Q==:17 + a=kj9zAlcOel0A:10 a=pGLkceISAAAA:8 a=80hmnl3cAAAA:8 a=7343-z1_AAAA:8 + a=1ZGrXzUVYalPlzsmVVwA:9 a=6kGIvZw6iX1k4Y-7sg4_:22 a=G-y4FhfbluXncOafXg4t:22 + a=TIilloDGjzTra_O4aUnR:22 +References: <5cd7f16b6435bf40b67862e29e1a516e.squirrel@webmail.plus.net> + <87k2gchjia.fsf@qmul.ac.uk> +Mime-Version: 1.0 (1.0) +In-Reply-To: <87k2gchjia.fsf@qmul.ac.uk> +Content-Type: text/plain; + charset=us-ascii +Content-Transfer-Encoding: quoted-printable +Message-Id: +Cc: notmuch@notmuchmail.org +X-Mailer: iPad Mail (13F69) +From: Matthew Lear +Subject: Re: Missing headers when forwarding html message as RFC822 +Date: Sat, 23 Jul 2016 13:30:41 +0100 +To: Mark Walters +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: Sat, 23 Jul 2016 12:30:59 -0000 + +Hi Mark. I will do, but would you mind sending me one of your test messages?= + At least that way, I can test against something that is 'known working'. +Thanks, + Matt + +> On 23 Jul 2016, at 08:59, Mark Walters wrote: +>=20 +>=20 +> Hi +>=20 +> I have tried several cases, including generating a message with just the +> two parts [ multipart/related ] [ text/html ] and forwarding that, and +> they all work for me. Can you provide a test message where it fails? +>=20 +> Also what version of emacs are you running? I think all the rfc822 +> forwarding is handled by emacs/gnus message-mode +>=20 +> Best wishes +>=20 +> Mark +>=20 +>=20 +>=20 +>> On Fri, 22 Jul 2016, Matthew Lear wrote: +>> Hi, +>>=20 +>> With notmuch built from very recent git (sha 3a45d29) it would seem that +>> when forwarding an HTML only message as RFC822, once received, the messag= +e +>> does not have any headers and notmuch-show merely displays 'Date: Thu, 01= + +>> Jan 1970 00:00:00 +0000'. I've stripped my .emacs back to a bare minimum +>> configuration and the behaviour is the same. +>>=20 +>> With a message (incidentally sent by MS Outlook) that contains the +>> following parts: +>>=20 +>> [ multipart/related ] +>> [ text/html ] +>>=20 +>> Once forwarded as RFC822 by notmuch and received, it is displayed by +>> notmuch-show as: +>>=20 +>> [ message/rfc822 ] +>> Date: Thu, 01 Jan 1970 00:00:00 +0000 +>>=20 +>> [ multipart/mixed ] +>> [ multipart/related ] +>> [ text/html ] +>>=20 +>> While with a message that contains the following parts: +>>=20 +>> [ multipart/mixed ] +>> [ text/plain ] +>>=20 +>> Once forwarded as RFC822 by notmuch and received, it is displayed by +>> notmuch-show as: +>>=20 +>> [ message/rfc822 ] +>> From: xxxx +>> Subject: xxxx +>> To: xxxx +>> Date: Fri, 15 Jul 2016 17:48:17 +0000 +>>=20 +>> [ multipart/mixed ] +>> [ text/plain ] +>>=20 +>> So the headers are missing in the first case. I'm sure this is a regressi= +on. +>>=20 +>> Can anybody verify this? +>> Cheers, +>> -- Matt +>>=20 +>>=20 +>> _______________________________________________ +>> notmuch mailing list +>> notmuch@notmuchmail.org +>> https://notmuchmail.org/mailman/listinfo/notmuch + -- 2.26.2