Re: Missing headers when forwarding html message as RFC822
authorMark Walters <markwalters1009@gmail.com>
Sat, 23 Jul 2016 07:59:57 +0000 (08:59 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:15 +0000 (16:22 -0700)
a1/17cbc2a05d737a1eb942ac87c5c8a4ae67df47 [new file with mode: 0644]

diff --git a/a1/17cbc2a05d737a1eb942ac87c5c8a4ae67df47 b/a1/17cbc2a05d737a1eb942ac87c5c8a4ae67df47
new file mode 100644 (file)
index 0000000..89b3145
--- /dev/null
@@ -0,0 +1,146 @@
+Return-Path: <markwalters1009@gmail.com>\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 1AD9E6DE014D\r
+ for <notmuch@notmuchmail.org>; Sat, 23 Jul 2016 01:00:12 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.052\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.052 tagged_above=-999 required=5 tests=[AWL=0.518,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\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 rWqnhGUjk1kP for <notmuch@notmuchmail.org>;\r
+ Sat, 23 Jul 2016 01:00:03 -0700 (PDT)\r
+Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com\r
+ [74.125.82.42]) by arlo.cworth.org (Postfix) with ESMTPS id 690D36DE00C8 for\r
+ <notmuch@notmuchmail.org>; Sat, 23 Jul 2016 01:00:03 -0700 (PDT)\r
+Received: by mail-wm0-f42.google.com with SMTP id q128so80057655wma.1\r
+ for <notmuch@notmuchmail.org>; Sat, 23 Jul 2016 01:00:03 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+ :mime-version; bh=tNMG8ZyO/Zpg07VNY/OW8sES/dcnTQiLZoxEGJWGCiM=;\r
+ b=knkocRp68PyBaX8zuhOwPGe6gShHyPQvW7RmRdPRxWxhJyGiG0aPlVbLHjpsYVKQxz\r
+ GTRZyklS39O+bIgdoFK7xJ0c55hA0WHOATtCG8TXcyE4qK2kZ+BRYsiyiU0PKbMd2O4h\r
+ Ee1Oz65ENaFrPgLKFU+xUq2fukB8dFQKBKBrYJExSY/jwB7ko2X0Pr+svwSfMkCEAzvB\r
+ 9zeXPp3Ip2j2CjN3hvu+aYJ3DP2+KZAuZyP+CqkrfDIcwPCo+KlQwMuVGUmkaOMU29hj\r
+ ti65NA80xpekAKHd/Xv4/61rcc9KlEoY0GrsCi+FUDpDiabwdktP5wkAhzL5VtJPv9pY\r
+ orgg==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:in-reply-to:references\r
+ :user-agent:date:message-id:mime-version;\r
+ bh=tNMG8ZyO/Zpg07VNY/OW8sES/dcnTQiLZoxEGJWGCiM=;\r
+ b=TCuK0sC94vycLxWqJ+ds6VqtlffGJ9QWBP8YgyWfq4lHt7h2wtlKswU94xkXpem1Oq\r
+ BX3Z0xB/VCcHVmdLx0kN2AgpQslWQGr6AltG8jAu7g+10F4kM5Doz1hw0pRv6K3rg1sx\r
+ DfwxEKrmBtEei7eX4CmVc3C0OXpqjU2qW+i1RtO867tP0Jje3K4WXJlmWoFVUjszvruS\r
+ +41Zb6q/2/G2anqI+g3Ju3xe79QWSfv8wQrGWZMKx5I+WWhxPFbm/HO7vff4JMobpE8t\r
+ EjpqId8y3wkJ3kSFZc3Mk0T/O39S9RUESe+B4W13eA4ZxSiYH+Z3OrqO6bvwRqFrfdbF\r
+ mI5Q==\r
+X-Gm-Message-State:\r
+ AEkooutjdj4m9D6yza598G432jdMA+S4O6xBXR1WYIGlV2oqpkTs+nuGk3JzIEgbpPp7tA==\r
+X-Received: by 10.194.153.5 with SMTP id vc5mr5008600wjb.75.1469260800228;\r
+ Sat, 23 Jul 2016 01:00:00 -0700 (PDT)\r
+Received: from localhost (94.196.250.227.threembb.co.uk. [94.196.250.227])\r
+ by smtp.gmail.com with ESMTPSA id w129sm16302784wmd.9.2016.07.23.00.59.58\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 23 Jul 2016 00:59:59 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: matt@bubblegen.co.uk, notmuch@notmuchmail.org\r
+Subject: Re: Missing headers when forwarding html message as RFC822\r
+In-Reply-To: <5cd7f16b6435bf40b67862e29e1a516e.squirrel@webmail.plus.net>\r
+References: <5cd7f16b6435bf40b67862e29e1a516e.squirrel@webmail.plus.net>\r
+User-Agent: Notmuch/0.22+85~gc99193f (https://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sat, 23 Jul 2016 08:59:57 +0100\r
+Message-ID: <87k2gchjia.fsf@qmul.ac.uk>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Sat, 23 Jul 2016 08:00:12 -0000\r
+\r
+\r
+Hi\r
+\r
+I have tried several cases, including generating a message with just the\r
+two parts [ multipart/related ] [ text/html ] and forwarding that, and\r
+they all work for me. Can you provide a test message where it fails?\r
+\r
+Also what version of emacs are you running? I think all the rfc822\r
+forwarding is handled by emacs/gnus message-mode\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+\r
+On Fri, 22 Jul 2016, Matthew Lear <matt@bubblegen.co.uk> wrote:\r
+> Hi,\r
+>\r
+> With notmuch built from very recent git (sha 3a45d29) it would seem that\r
+> when forwarding an HTML only message as RFC822, once received, the message\r
+> does not have any headers and notmuch-show merely displays 'Date: Thu, 01\r
+> Jan 1970 00:00:00 +0000'. I've stripped my .emacs back to a bare minimum\r
+> configuration and the behaviour is the same.\r
+>\r
+> With a message (incidentally sent by MS Outlook) that contains the\r
+> following parts:\r
+>\r
+> [ multipart/related ]\r
+> [ text/html ]\r
+>\r
+> Once forwarded as RFC822 by notmuch and received, it is displayed by\r
+> notmuch-show as:\r
+>\r
+> [ message/rfc822 ]\r
+> Date: Thu, 01 Jan 1970 00:00:00 +0000\r
+>\r
+> [ multipart/mixed ]\r
+> [ multipart/related ]\r
+> [ text/html ]\r
+>\r
+> While with a message that contains the following parts:\r
+>\r
+> [ multipart/mixed ]\r
+> [ text/plain ]\r
+>\r
+> Once forwarded as RFC822 by notmuch and received, it is displayed by\r
+> notmuch-show as:\r
+>\r
+> [ message/rfc822 ]\r
+> From: xxxx\r
+> Subject: xxxx\r
+> To: xxxx\r
+> Date: Fri, 15 Jul 2016 17:48:17 +0000\r
+>\r
+> [ multipart/mixed ]\r
+> [ text/plain ]\r
+>\r
+> So the headers are missing in the first case. I'm sure this is a regression.\r
+>\r
+> Can anybody verify this?\r
+> Cheers,\r
+> --  Matt\r
+>\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> https://notmuchmail.org/mailman/listinfo/notmuch\r