Re: Missing headers when forwarding html message as RFC822
[notmuch-archives.git] / f5 / c118fb3ed0b4cdaf6a4941fd3512705d186559
1 Return-Path: <matt@bubblegen.co.uk>\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 74A256DE0217\r
6  for <notmuch@notmuchmail.org>; Mon, 25 Jul 2016 09:12:52 -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.72\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.72 tagged_above=-999 required=5 tests=[AWL=0.000, \r
12  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
13  RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id cWg9oo2p7Ylr for <notmuch@notmuchmail.org>;\r
17  Mon, 25 Jul 2016 09:12:44 -0700 (PDT)\r
18 Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id E49566DE01BE\r
20  for <notmuch@notmuchmail.org>; Mon, 25 Jul 2016 09:12:43 -0700 (PDT)\r
21 Received: from localhost ([84.93.237.194]) by avasout07 with smtp\r
22  id P4Cc1t0034CLSd8014Cdnk; Mon, 25 Jul 2016 17:12:39 +0100\r
23 X-CM-Score: 0.00\r
24 X-CNFS-Analysis: v=2.2 cv=UYYTc+aN c=1 sm=1 tr=0\r
25  a=VrPob/PGR4vzCiwW53VWbQ==:117 a=VrPob/PGR4vzCiwW53VWbQ==:17\r
26  a=8nJEP1OIZ-IA:10 a=cAmyUtKerLwA:10 a=pGLkceISAAAA:8 a=80hmnl3cAAAA:8\r
27  a=7343-z1_AAAA:8 a=LzgKLvs8mV-g9NOyoUAA:9 a=6kGIvZw6iX1k4Y-7sg4_:22\r
28  a=G-y4FhfbluXncOafXg4t:22 a=TIilloDGjzTra_O4aUnR:22\r
29 Received: from localhost ([127.0.0.1] helo=webmail.plus.net)\r
30  by localhost with esmtp (Exim 4.76)\r
31  (envelope-from <matt@bubblegen.co.uk>)\r
32  id 1bRiUe-0001aP-7b; Mon, 25 Jul 2016 17:12:36 +0100\r
33 Received: from 80.82.130.242 (SquirrelMail authenticated user bubblegen+matt)\r
34  by webmail.plus.net with HTTP; Mon, 25 Jul 2016 17:12:36 +0100\r
35 Message-ID: <1ba40e0005007f5ba5a82ebb26f34062.squirrel@webmail.plus.net>\r
36 In-Reply-To: <B79EEECE-417D-4CED-8E4E-393E87C3AFE9@bubblegen.co.uk>\r
37 References: <5cd7f16b6435bf40b67862e29e1a516e.squirrel@webmail.plus.net>\r
38  <87k2gchjia.fsf@qmul.ac.uk>\r
39  <B79EEECE-417D-4CED-8E4E-393E87C3AFE9@bubblegen.co.uk>\r
40 Date: Mon, 25 Jul 2016 17:12:36 +0100\r
41 Subject: Re: Missing headers when forwarding html message as RFC822\r
42 From: "Matthew Lear" <matt@bubblegen.co.uk>\r
43 To: "Mark Walters" <markwalters1009@gmail.com>\r
44 Cc: notmuch@notmuchmail.org\r
45 Reply-To: matt@bubblegen.co.uk\r
46 User-Agent: SquirrelMail\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain;charset=iso-8859-1\r
49 Content-Transfer-Encoding: 8bit\r
50 X-Priority: 3 (Normal)\r
51 Importance: Normal\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.20\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56  <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
58  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
63  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Mon, 25 Jul 2016 16:12:52 -0000\r
65 \r
66 >> Also what version of emacs are you running? I think all the rfc822\r
67 >> forwarding is handled by emacs/gnus message-mode\r
68 \r
69 I'm running 24.5-r2\r
70 \r
71 > Hi Mark. I will do, but would you mind sending me one of your test\r
72 > messages? At least that way, I can test against something that is 'known\r
73 > working'.\r
74 > Thanks,\r
75 >   Matt\r
76 >\r
77 >> On 23 Jul 2016, at 08:59, Mark Walters <markwalters1009@gmail.com>\r
78 >> wrote:\r
79 >>\r
80 >>\r
81 >> Hi\r
82 >>\r
83 >> I have tried several cases, including generating a message with just the\r
84 >> two parts [ multipart/related ] [ text/html ] and forwarding that, and\r
85 >> they all work for me. Can you provide a test message where it fails?\r
86 >>\r
87 >> Also what version of emacs are you running? I think all the rfc822\r
88 >> forwarding is handled by emacs/gnus message-mode\r
89 >>\r
90 >> Best wishes\r
91 >>\r
92 >> Mark\r
93 >>\r
94 >>\r
95 >>\r
96 >>> On Fri, 22 Jul 2016, Matthew Lear <matt@bubblegen.co.uk> wrote:\r
97 >>> Hi,\r
98 >>>\r
99 >>> With notmuch built from very recent git (sha 3a45d29) it would seem\r
100 >>> that\r
101 >>> when forwarding an HTML only message as RFC822, once received, the\r
102 >>> message\r
103 >>> does not have any headers and notmuch-show merely displays 'Date: Thu,\r
104 >>> 01\r
105 >>> Jan 1970 00:00:00 +0000'. I've stripped my .emacs back to a bare\r
106 >>> minimum\r
107 >>> configuration and the behaviour is the same.\r
108 >>>\r
109 >>> With a message (incidentally sent by MS Outlook) that contains the\r
110 >>> following parts:\r
111 >>>\r
112 >>> [ multipart/related ]\r
113 >>> [ text/html ]\r
114 >>>\r
115 >>> Once forwarded as RFC822 by notmuch and received, it is displayed by\r
116 >>> notmuch-show as:\r
117 >>>\r
118 >>> [ message/rfc822 ]\r
119 >>> Date: Thu, 01 Jan 1970 00:00:00 +0000\r
120 >>>\r
121 >>> [ multipart/mixed ]\r
122 >>> [ multipart/related ]\r
123 >>> [ text/html ]\r
124 >>>\r
125 >>> While with a message that contains the following parts:\r
126 >>>\r
127 >>> [ multipart/mixed ]\r
128 >>> [ text/plain ]\r
129 >>>\r
130 >>> Once forwarded as RFC822 by notmuch and received, it is displayed by\r
131 >>> notmuch-show as:\r
132 >>>\r
133 >>> [ message/rfc822 ]\r
134 >>> From: xxxx\r
135 >>> Subject: xxxx\r
136 >>> To: xxxx\r
137 >>> Date: Fri, 15 Jul 2016 17:48:17 +0000\r
138 >>>\r
139 >>> [ multipart/mixed ]\r
140 >>> [ text/plain ]\r
141 >>>\r
142 >>> So the headers are missing in the first case. I'm sure this is a\r
143 >>> regression.\r
144 >>>\r
145 >>> Can anybody verify this?\r
146 >>> Cheers,\r
147 >>> --  Matt\r
148 >>>\r
149 >>>\r
150 >>> _______________________________________________\r
151 >>> notmuch mailing list\r
152 >>> notmuch@notmuchmail.org\r
153 >>> https://notmuchmail.org/mailman/listinfo/notmuch\r
154 >\r
155 \r
156 \r
157 \r
158 \r