Re: Missing headers when forwarding html message as RFC822
[notmuch-archives.git] / a1 / 17cbc2a05d737a1eb942ac87c5c8a4ae67df47
1 Return-Path: <markwalters1009@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 1AD9E6DE014D\r
6  for <notmuch@notmuchmail.org>; Sat, 23 Jul 2016 01:00:12 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.052\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.052 tagged_above=-999 required=5 tests=[AWL=0.518,\r
12   DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,\r
14  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\r
15  autolearn=disabled\r
16 Received: from arlo.cworth.org ([127.0.0.1])\r
17  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
18  with ESMTP id rWqnhGUjk1kP for <notmuch@notmuchmail.org>;\r
19  Sat, 23 Jul 2016 01:00:03 -0700 (PDT)\r
20 Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com\r
21  [74.125.82.42]) by arlo.cworth.org (Postfix) with ESMTPS id 690D36DE00C8 for\r
22  <notmuch@notmuchmail.org>; Sat, 23 Jul 2016 01:00:03 -0700 (PDT)\r
23 Received: by mail-wm0-f42.google.com with SMTP id q128so80057655wma.1\r
24  for <notmuch@notmuchmail.org>; Sat, 23 Jul 2016 01:00:03 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26  h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
27  :mime-version; bh=tNMG8ZyO/Zpg07VNY/OW8sES/dcnTQiLZoxEGJWGCiM=;\r
28  b=knkocRp68PyBaX8zuhOwPGe6gShHyPQvW7RmRdPRxWxhJyGiG0aPlVbLHjpsYVKQxz\r
29  GTRZyklS39O+bIgdoFK7xJ0c55hA0WHOATtCG8TXcyE4qK2kZ+BRYsiyiU0PKbMd2O4h\r
30  Ee1Oz65ENaFrPgLKFU+xUq2fukB8dFQKBKBrYJExSY/jwB7ko2X0Pr+svwSfMkCEAzvB\r
31  9zeXPp3Ip2j2CjN3hvu+aYJ3DP2+KZAuZyP+CqkrfDIcwPCo+KlQwMuVGUmkaOMU29hj\r
32  ti65NA80xpekAKHd/Xv4/61rcc9KlEoY0GrsCi+FUDpDiabwdktP5wkAhzL5VtJPv9pY\r
33  orgg==\r
34 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
35  d=1e100.net; s=20130820;\r
36  h=x-gm-message-state:from:to:subject:in-reply-to:references\r
37  :user-agent:date:message-id:mime-version;\r
38  bh=tNMG8ZyO/Zpg07VNY/OW8sES/dcnTQiLZoxEGJWGCiM=;\r
39  b=TCuK0sC94vycLxWqJ+ds6VqtlffGJ9QWBP8YgyWfq4lHt7h2wtlKswU94xkXpem1Oq\r
40  BX3Z0xB/VCcHVmdLx0kN2AgpQslWQGr6AltG8jAu7g+10F4kM5Doz1hw0pRv6K3rg1sx\r
41  DfwxEKrmBtEei7eX4CmVc3C0OXpqjU2qW+i1RtO867tP0Jje3K4WXJlmWoFVUjszvruS\r
42  +41Zb6q/2/G2anqI+g3Ju3xe79QWSfv8wQrGWZMKx5I+WWhxPFbm/HO7vff4JMobpE8t\r
43  EjpqId8y3wkJ3kSFZc3Mk0T/O39S9RUESe+B4W13eA4ZxSiYH+Z3OrqO6bvwRqFrfdbF\r
44  mI5Q==\r
45 X-Gm-Message-State:\r
46  AEkooutjdj4m9D6yza598G432jdMA+S4O6xBXR1WYIGlV2oqpkTs+nuGk3JzIEgbpPp7tA==\r
47 X-Received: by 10.194.153.5 with SMTP id vc5mr5008600wjb.75.1469260800228;\r
48  Sat, 23 Jul 2016 01:00:00 -0700 (PDT)\r
49 Received: from localhost (94.196.250.227.threembb.co.uk. [94.196.250.227])\r
50  by smtp.gmail.com with ESMTPSA id w129sm16302784wmd.9.2016.07.23.00.59.58\r
51  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
52  Sat, 23 Jul 2016 00:59:59 -0700 (PDT)\r
53 From: Mark Walters <markwalters1009@gmail.com>\r
54 To: matt@bubblegen.co.uk, notmuch@notmuchmail.org\r
55 Subject: Re: Missing headers when forwarding html message as RFC822\r
56 In-Reply-To: <5cd7f16b6435bf40b67862e29e1a516e.squirrel@webmail.plus.net>\r
57 References: <5cd7f16b6435bf40b67862e29e1a516e.squirrel@webmail.plus.net>\r
58 User-Agent: Notmuch/0.22+85~gc99193f (https://notmuchmail.org) Emacs/24.4.1\r
59  (x86_64-pc-linux-gnu)\r
60 Date: Sat, 23 Jul 2016 08:59:57 +0100\r
61 Message-ID: <87k2gchjia.fsf@qmul.ac.uk>\r
62 MIME-Version: 1.0\r
63 Content-Type: text/plain\r
64 X-BeenThere: notmuch@notmuchmail.org\r
65 X-Mailman-Version: 2.1.20\r
66 Precedence: list\r
67 List-Id: "Use and development of the notmuch mail system."\r
68  <notmuch.notmuchmail.org>\r
69 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
70  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
72 List-Post: <mailto:notmuch@notmuchmail.org>\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
74 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
75  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
76 X-List-Received-Date: Sat, 23 Jul 2016 08:00:12 -0000\r
77 \r
78 \r
79 Hi\r
80 \r
81 I have tried several cases, including generating a message with just the\r
82 two parts [ multipart/related ] [ text/html ] and forwarding that, and\r
83 they all work for me. Can you provide a test message where it fails?\r
84 \r
85 Also what version of emacs are you running? I think all the rfc822\r
86 forwarding is handled by emacs/gnus message-mode\r
87 \r
88 Best wishes\r
89 \r
90 Mark\r
91 \r
92 \r
93 \r
94 On Fri, 22 Jul 2016, Matthew Lear <matt@bubblegen.co.uk> wrote:\r
95 > Hi,\r
96 >\r
97 > With notmuch built from very recent git (sha 3a45d29) it would seem that\r
98 > when forwarding an HTML only message as RFC822, once received, the message\r
99 > does not have any headers and notmuch-show merely displays 'Date: Thu, 01\r
100 > Jan 1970 00:00:00 +0000'. I've stripped my .emacs back to a bare minimum\r
101 > configuration and the behaviour is the same.\r
102 >\r
103 > With a message (incidentally sent by MS Outlook) that contains the\r
104 > following parts:\r
105 >\r
106 > [ multipart/related ]\r
107 > [ text/html ]\r
108 >\r
109 > Once forwarded as RFC822 by notmuch and received, it is displayed by\r
110 > notmuch-show as:\r
111 >\r
112 > [ message/rfc822 ]\r
113 > Date: Thu, 01 Jan 1970 00:00:00 +0000\r
114 >\r
115 > [ multipart/mixed ]\r
116 > [ multipart/related ]\r
117 > [ text/html ]\r
118 >\r
119 > While with a message that contains the following parts:\r
120 >\r
121 > [ multipart/mixed ]\r
122 > [ text/plain ]\r
123 >\r
124 > Once forwarded as RFC822 by notmuch and received, it is displayed by\r
125 > notmuch-show as:\r
126 >\r
127 > [ message/rfc822 ]\r
128 > From: xxxx\r
129 > Subject: xxxx\r
130 > To: xxxx\r
131 > Date: Fri, 15 Jul 2016 17:48:17 +0000\r
132 >\r
133 > [ multipart/mixed ]\r
134 > [ text/plain ]\r
135 >\r
136 > So the headers are missing in the first case. I'm sure this is a regression.\r
137 >\r
138 > Can anybody verify this?\r
139 > Cheers,\r
140 > --  Matt\r
141 >\r
142 >\r
143 > _______________________________________________\r
144 > notmuch mailing list\r
145 > notmuch@notmuchmail.org\r
146 > https://notmuchmail.org/mailman/listinfo/notmuch\r