Re: Missing headers when forwarding html message as RFC822
[notmuch-archives.git] / 7b / e182c31f5be6830f5eb6f50cd3f3f534f96d7c
1 Return-Path: <xuwang762@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 C10F46DE0948\r
6  for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 21:00:38 -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.568\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.568 tagged_above=-999 required=5\r
12  tests=[AWL=-0.017, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
13  DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,\r
14  FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001,\r
15  SPF_PASS=-0.001] 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 EHrX6tGJwXxk for <notmuch@notmuchmail.org>;\r
19  Sat, 13 Jun 2015 21:00:36 -0700 (PDT)\r
20 Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com\r
21  [209.85.218.44])\r
22  by arlo.cworth.org (Postfix) with ESMTPS id 7A4A76DE0350\r
23  for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 21:00:36 -0700 (PDT)\r
24 Received: by oiha141 with SMTP id a141so41342979oih.0\r
25  for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 21:00:35 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27  h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
28  :content-type:content-transfer-encoding;\r
29  bh=of166Ipb8UbhC4WLbCOO4rZNdZMbTujMfDuoYTq+Y28=;\r
30  b=j0/A4immRngwmi+nxmIiXja2/rYJugoHUNX7+2J6pqQssXVNF2G2vC6qPrhTHdYgBt\r
31  s8cu/Xx5ZVJojcZJC+KyHQOGqqW49f/UVr0ZEyR+lw9w6edeSH7JkXa/VgVtZ5OYx/ay\r
32  l20fh+aZx5Ukdp8HsymHvdPCFfCKOc0OO0JYtrVXs0ylrw50VEHehCM/3zIXWesJXYj/\r
33  Fj7trapJwSZR6S9cv5IKAGzRlvOiDa6RKdssg8V1Hk+tKA+RqdvujrO6mF+8J0SY+pOl\r
34  lTy0MpwgkPm9mosSbJzeX7UmjNahgCsmcWPyO+8QTmjzNhfBas74L57STrkOxsie9aoU\r
35  towg==\r
36 MIME-Version: 1.0\r
37 X-Received: by 10.182.181.103 with SMTP id dv7mr18326964obc.25.1434254435575; \r
38  Sat, 13 Jun 2015 21:00:35 -0700 (PDT)\r
39 Received: by 10.182.241.167 with HTTP; Sat, 13 Jun 2015 21:00:35 -0700 (PDT)\r
40 In-Reply-To: <F7F869E6-8F28-4817-8177-46ED85E24293@csail.mit.edu>\r
41 References:\r
42  <CAJhTkNjHDmii67Gn77szoeriEBEwMJ=4NMMQ0qUjX3-jppQk1w@mail.gmail.com>\r
43  <F7F869E6-8F28-4817-8177-46ED85E24293@csail.mit.edu>\r
44 Date: Sun, 14 Jun 2015 00:00:35 -0400\r
45 Message-ID:\r
46  <CAJhTkNjGF3Sh2WWdu2XqEW_wPmG2pbs5Ke+C2DNVpuoc_-AGCw@mail.gmail.com>\r
47 Subject: Re: Understanding the "replied" tag\r
48 From: Xu Wang <xuwang762@gmail.com>\r
49 To: notmuch@notmuchmail.org\r
50 Content-Type: text/plain; charset=UTF-8\r
51 Content-Transfer-Encoding: quoted-printable\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.18\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: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Sun, 14 Jun 2015 04:00:38 -0000\r
65 \r
66 Dear Suvayu and Austin,\r
67 \r
68 Thank you for your attempts to understand my goals. I apologize for\r
69 the lack in the clarity of my previous messages. Thank you kindly for\r
70 your persistence and thank you to Suvayu for suggestions on adding\r
71 more information.\r
72 \r
73 I am indeed using mutt-kz, along with offlineimap, on Ubuntu 15.04. I\r
74 have written the following information the other email thread I\r
75 started (perhaps I should have added it as a reply here, but I thought\r
76 it might be sufficiently a different topic). I will copy the\r
77 information I gave there on my goal here:\r
78 \r
79 My goal is to do something like the following:\r
80 notmuch search tag:reply-required and not tag:replied\r
81 \r
82 which was discussed here:\r
83 http://notmuchmail.org/pipermail/notmuch/2010/002558.html\r
84 \r
85 However, instead of conditioning on tag:reply-required, I would like\r
86 to look at this for a specific message. For example, if I write an\r
87 important message, I can do the following:\r
88 save the message id, and then in 5 days set a cron script to check\r
89 whether my message was responded to. If it was not responded to I will\r
90 take some action to notify myself (haven't decided what yet).\r
91 It is the "If it was not responded to" part that this email thread is\r
92 about. I am now realizing that I cannot use mutt's tag "replied"\r
93 because I often send and read email from gmail or other IMap clients\r
94 (e.g. phone). Because of this (I believe), the reply tag does not get\r
95 set when it should (well not "should" but rather "when I want it to").\r
96 For example, I often have\r
97 \r
98 abc\r
99 ->def\r
100   -> ghi\r
101 \r
102 where the message def does not have the "replied" tag, even though it\r
103 was replied to (ghi replied to it). I think the reason is what I\r
104 suggested above. Yes, indeed Austin was correct about where my\r
105 misunderstanding was. I do indeed want to see if *any* reply was to a\r
106 certain message id, but the "replied" tag is apparently for my own\r
107 replying.\r
108 \r
109 Because I cannot use the "replied" tag (unless I have misunderstood),\r
110 I thought I could just check using the message id with 'notmuch search\r
111 repliedto:<messageid>', but Suvayu points out that searching for this\r
112 is not supported.\r
113 \r
114 Kind regards,\r
115 \r
116 Xu\r
117 \r
118 On Sat, Jun 13, 2015 at 7:12 PM, Austin Clements\r
119 <aclements@csail.mit.edu> wrote:\r
120 > Hi Xu. I may be misunderstanding your email, but it sounds like you want =\r
121 to know if a message has *any* reply message. That's not what the replied t=\r
122 ag indicates. The replied tag indicates that *you* have sent a reply to a m=\r
123 essage. Mechanically, when you hit, say, r to start a reply and then send t=\r
124 hat message, notmuch tags the message you hit r on as "replied". That's the=\r
125  only time notmuch automatically sets this tag.\r
126 >\r
127 > On June 11, 2015 10:25:44 AM PDT, Xu Wang <xuwang762@gmail.com> wrote:\r
128 >>Dear all,\r
129 >>\r
130 >>First, I am extremely excited to be a part of this list now. notmuch\r
131 >>has really helped me. Thank you go all individuals working to improve\r
132 >>it and to help others to know how to use it.\r
133 >>\r
134 >>I would really like to know if a message has been replied to (e.g.\r
135 >>using a certain message id). It seems that all I need to do is check\r
136 >>for the "replied" tag. But often this tag is not there, even when\r
137 >>there has been a reply (I have confirmed this through the thread\r
138 >>display and checking the message that replied to the message to make\r
139 >>sure it indeed has header "replied-to:<MSG-ID>").\r
140 >>\r
141 >>I have looked in mutt, and also I see many situations where there is\r
142 >>no 'r' flag, especially for emails sent from me.\r
143 >>\r
144 >>The following returns true:\r
145 >>notmuch config get maildir.synchronize_flags\r
146 >>\r
147 >>So at least both are giving same answer, but I'm not sure why not\r
148 >>saying "replied" thread is correct.\r
149 >>\r
150 >>What is incorrect for my way of thinking about "replied"? Do I\r
151 >>misunderstand what it is supposed to do or am I not updating the flags\r
152 >>correctly?\r
153 >>\r
154 >>Kind regards,\r
155 >>\r
156 >>Xu\r
157 >>_______________________________________________\r
158 >>notmuch mailing list\r
159 >>notmuch@notmuchmail.org\r
160 >>http://notmuchmail.org/mailman/listinfo/notmuch\r
161 >\r