From: Matthew Lear Date: Mon, 25 Jul 2016 16:12:36 +0000 (+0100) Subject: Re: Missing headers when forwarding html message as RFC822 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ae066dde822759b55685d0fad3e897d88e539c3;p=notmuch-archives.git Re: Missing headers when forwarding html message as RFC822 --- diff --git a/f5/c118fb3ed0b4cdaf6a4941fd3512705d186559 b/f5/c118fb3ed0b4cdaf6a4941fd3512705d186559 new file mode 100644 index 000000000..adb7ebe86 --- /dev/null +++ b/f5/c118fb3ed0b4cdaf6a4941fd3512705d186559 @@ -0,0 +1,158 @@ +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 74A256DE0217 + for ; Mon, 25 Jul 2016 09:12:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.72 +X-Spam-Level: +X-Spam-Status: No, score=-0.72 tagged_above=-999 required=5 tests=[AWL=0.000, + 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 cWg9oo2p7Ylr for ; + Mon, 25 Jul 2016 09:12:44 -0700 (PDT) +Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) + by arlo.cworth.org (Postfix) with ESMTPS id E49566DE01BE + for ; Mon, 25 Jul 2016 09:12:43 -0700 (PDT) +Received: from localhost ([84.93.237.194]) by avasout07 with smtp + id P4Cc1t0034CLSd8014Cdnk; Mon, 25 Jul 2016 17:12:39 +0100 +X-CM-Score: 0.00 +X-CNFS-Analysis: v=2.2 cv=UYYTc+aN c=1 sm=1 tr=0 + a=VrPob/PGR4vzCiwW53VWbQ==:117 a=VrPob/PGR4vzCiwW53VWbQ==:17 + a=8nJEP1OIZ-IA:10 a=cAmyUtKerLwA:10 a=pGLkceISAAAA:8 a=80hmnl3cAAAA:8 + a=7343-z1_AAAA:8 a=LzgKLvs8mV-g9NOyoUAA:9 a=6kGIvZw6iX1k4Y-7sg4_:22 + a=G-y4FhfbluXncOafXg4t:22 a=TIilloDGjzTra_O4aUnR:22 +Received: from localhost ([127.0.0.1] helo=webmail.plus.net) + by localhost with esmtp (Exim 4.76) + (envelope-from ) + id 1bRiUe-0001aP-7b; Mon, 25 Jul 2016 17:12:36 +0100 +Received: from 80.82.130.242 (SquirrelMail authenticated user bubblegen+matt) + by webmail.plus.net with HTTP; Mon, 25 Jul 2016 17:12:36 +0100 +Message-ID: <1ba40e0005007f5ba5a82ebb26f34062.squirrel@webmail.plus.net> +In-Reply-To: +References: <5cd7f16b6435bf40b67862e29e1a516e.squirrel@webmail.plus.net> + <87k2gchjia.fsf@qmul.ac.uk> + +Date: Mon, 25 Jul 2016 17:12:36 +0100 +Subject: Re: Missing headers when forwarding html message as RFC822 +From: "Matthew Lear" +To: "Mark Walters" +Cc: 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: Mon, 25 Jul 2016 16:12:52 -0000 + +>> Also what version of emacs are you running? I think all the rfc822 +>> forwarding is handled by emacs/gnus message-mode + +I'm running 24.5-r2 + +> 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: +>> +>> +>> Hi +>> +>> 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? +>> +>> Also what version of emacs are you running? I think all the rfc822 +>> forwarding is handled by emacs/gnus message-mode +>> +>> Best wishes +>> +>> Mark +>> +>> +>> +>>> On Fri, 22 Jul 2016, Matthew Lear wrote: +>>> Hi, +>>> +>>> With notmuch built from very recent git (sha 3a45d29) it would seem +>>> that +>>> when forwarding an HTML only message as RFC822, once received, the +>>> message +>>> 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. +>>> +>>> With a message (incidentally sent by MS Outlook) that contains the +>>> following parts: +>>> +>>> [ multipart/related ] +>>> [ text/html ] +>>> +>>> Once forwarded as RFC822 by notmuch and received, it is displayed by +>>> notmuch-show as: +>>> +>>> [ message/rfc822 ] +>>> Date: Thu, 01 Jan 1970 00:00:00 +0000 +>>> +>>> [ multipart/mixed ] +>>> [ multipart/related ] +>>> [ text/html ] +>>> +>>> While with a message that contains the following parts: +>>> +>>> [ multipart/mixed ] +>>> [ text/plain ] +>>> +>>> Once forwarded as RFC822 by notmuch and received, it is displayed by +>>> notmuch-show as: +>>> +>>> [ message/rfc822 ] +>>> From: xxxx +>>> Subject: xxxx +>>> To: xxxx +>>> Date: Fri, 15 Jul 2016 17:48:17 +0000 +>>> +>>> [ multipart/mixed ] +>>> [ text/plain ] +>>> +>>> So the headers are missing in the first case. I'm sure this is a +>>> regression. +>>> +>>> Can anybody verify this? +>>> Cheers, +>>> -- Matt +>>> +>>> +>>> _______________________________________________ +>>> notmuch mailing list +>>> notmuch@notmuchmail.org +>>> https://notmuchmail.org/mailman/listinfo/notmuch +> + + + +