Re: ask notmuch to find back "reply-to's"
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 3 Jul 2016 13:28:29 +0000 (09:28 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:10 +0000 (16:22 -0700)
cb/4424cf4c1db80a7621574afe8f47e763f3d99e [new file with mode: 0644]

diff --git a/cb/4424cf4c1db80a7621574afe8f47e763f3d99e b/cb/4424cf4c1db80a7621574afe8f47e763f3d99e
new file mode 100644 (file)
index 0000000..e0e1443
--- /dev/null
@@ -0,0 +1,99 @@
+Return-Path: <dkg@fifthhorseman.net>\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 A395D6DE01EA\r
+ for <notmuch@notmuchmail.org>; Sun,  3 Jul 2016 06:28:40 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\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 I8kJzh16R5f8 for <notmuch@notmuchmail.org>;\r
+ Sun,  3 Jul 2016 06:28:32 -0700 (PDT)\r
+Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118])\r
+ by arlo.cworth.org (Postfix) with ESMTP id AC1736DE00F5\r
+ for <notmuch@notmuchmail.org>; Sun,  3 Jul 2016 06:28:31 -0700 (PDT)\r
+Received: from fifthhorseman.net (c-174-62-194-216.hsd1.ct.comcast.net\r
+ [174.62.194.216])\r
+ by che.mayfirst.org (Postfix) with ESMTPSA id 1CFDAF98B;\r
+ Sun,  3 Jul 2016 09:28:30 -0400 (EDT)\r
+Received: by fifthhorseman.net (Postfix, from userid 1000)\r
+ id 3447920344; Sun,  3 Jul 2016 09:28:29 -0400 (EDT)\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+To: Xu Wang <xuwang762@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: ask notmuch to find back "reply-to's"\r
+In-Reply-To:\r
+ <CAJhTkNiWvED4+7kAEWxWOD2PLyskG27vTfSbmZhJFUJcoBqXag@mail.gmail.com>\r
+References:\r
+ <CAJhTkNiWvED4+7kAEWxWOD2PLyskG27vTfSbmZhJFUJcoBqXag@mail.gmail.com>\r
+User-Agent: Notmuch/0.22+69~gd812194 (https://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sun, 03 Jul 2016 09:28:29 -0400\r
+Message-ID: <87inwmyhoi.fsf@alice.fifthhorseman.net>\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: Sun, 03 Jul 2016 13:28:40 -0000\r
+\r
+On Sat 2016-07-02 20:28:41 -0400, Xu Wang wrote:\r
+> Hello all,\r
+>\r
+> I have a situation where sometimes I sync a later message. For\r
+> example, the following happens on times:\r
+>\r
+> 1a. sync message 1.\r
+> 1b. not much new\r
+> 2a. sync message 3 (which replied to message 2)\r
+> 2b. not much new\r
+> 3. sync message 2 (which replied to message 1)\r
+> 3b. not much new\r
+>\r
+> This happens because of my workflow of offlineimap. It takes a long\r
+> time to sync some folders so often I prefer to skip, but sometimes\r
+> they contain replies.\r
+\r
+on most systems, assuming standard headers, notmuch should indeed\r
+assemble these into the same thread.\r
+\r
+the relevant headers are In-Reply-To and References.\r
+\r
+Can you show those headers for this example?  If they have these message-IDs:\r
+\r
+ message 1: XXX\r
+ message 2: YYY\r
+ message 3: ZZZ\r
+\r
+then i'd expect the following headers:\r
+\r
+ message 1:\r
+   Message-Id: XXX\r
+    <no In-Reply-To or References>\r
+ message 2:\r
+   Message-Id: YYY\r
+   In-Reply-To: XXX\r
+   References: XXX\r
+ message 3:\r
+   Message-Id: ZZZ\r
+   In-Reply-To: YYY\r
+   References: XXX, YYY\r
+\r
+\r
+If notmuch has indexed them all, they should all be part of the same\r
+thread.\r
+\r
+        --dkg\r