Re: ask notmuch to find back "reply-to's"
authorXu Wang <xuwang762@gmail.com>
Sun, 3 Jul 2016 18:25:59 +0000 (14:25 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:10 +0000 (16:22 -0700)
91/9cd44ff9494de32eb7a0f43d04ad273ad26b77 [new file with mode: 0644]

diff --git a/91/9cd44ff9494de32eb7a0f43d04ad273ad26b77 b/91/9cd44ff9494de32eb7a0f43d04ad273ad26b77
new file mode 100644 (file)
index 0000000..8845997
--- /dev/null
@@ -0,0 +1,135 @@
+Return-Path: <xuwang762@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 6E4626DE00F5\r
+ for <notmuch@notmuchmail.org>; Sun,  3 Jul 2016 11:26:11 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.503\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.503 tagged_above=-999 required=5 tests=[AWL=0.067,\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 Xm_WAVWigNKF for <notmuch@notmuchmail.org>;\r
+ Sun,  3 Jul 2016 11:26:02 -0700 (PDT)\r
+Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com\r
+ [209.85.218.50])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 94EDC6DE0032\r
+ for <notmuch@notmuchmail.org>; Sun,  3 Jul 2016 11:26:02 -0700 (PDT)\r
+Received: by mail-oi0-f50.google.com with SMTP id f189so171166434oig.3\r
+ for <notmuch@notmuchmail.org>; Sun, 03 Jul 2016 11:26:02 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=mime-version:in-reply-to:references:from:date:message-id:subject:to\r
+ :cc; bh=Ul5dgKqV7gEOGO3x7xE7BiTZOQWfENgM76Gfi1ha4PU=;\r
+ b=mJSouROrVq1GAl7iXZOwCFLE9EHNDXMNy6cqpACfXl9ol9ptLl43PWUKR40w+WSWHe\r
+ o2rJaIWjETLyV+XsOcdHe9H45Od2/+/7+gdrLXy39mEKt0nqAFC1LTcfkERSLPY7hVNO\r
+ WNxWil4u1ea4Y4NeUBhLZdy+WBt5AyibWA8WpChozTSD6B/kbHsyUY1Vhw2IZbGgj53F\r
+ eTB+Of+j5E0hsNLH1ZEtpLpsz9KLy0SlIz+Ox0vQ8gHubU/RSvy1znAlQeXgnYG8OdDz\r
+ uPNcHbQK5xh/7IQ4sm+S6K2W8rMNd7dPA9imsVQgT8dkjmKLLh1O26fl9cxgcLW+nr+t\r
+ kM3Q==\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:mime-version:in-reply-to:references:from:date\r
+ :message-id:subject:to:cc;\r
+ bh=Ul5dgKqV7gEOGO3x7xE7BiTZOQWfENgM76Gfi1ha4PU=;\r
+ b=iOfjnOzPVkBbwBx+VcmG/q+2QCcr0z4HPEJsn8lRMYZlDECrQr0sMK0HSpvqA+3c8Y\r
+ dpLv6IivX0EnLGGRF/a1PRiKtqrKs3+ecbOjj8dm1a1C0TgtcjBe0Kmq7lTT+rvmT2VL\r
+ kGvswpgVcFx/C3TAHRd5BvZo/IO/TOh5Bq6Kzee7yGUr47FcloePklnP2hdnRo3fq2eG\r
+ LGv01OqaSgPotMuNm0fY46SR8LOxgE4ZEGD8A3fFkWKjVjwVzVJ1utHu0RobYU47s0sl\r
+ R55I+I9jgQTBnVw6F2VJ8+yIA9kHWx8gQFCib7VKuhSL180UG1MXOzn7t3MFRTwU7JzA\r
+ N/BA==\r
+X-Gm-Message-State: ALyK8tLO3kQGG8FNPrd/Hk7T0AYzj4Vgrew7fbmDZ4pWbg63pRF455KWL+yMgSTfMbZDeimD7sAa3V73CBZdIw==\r
+X-Received: by 10.202.4.204 with SMTP id 195mr5082761oie.173.1467570359499;\r
+ Sun, 03 Jul 2016 11:25:59 -0700 (PDT)\r
+MIME-Version: 1.0\r
+Received: by 10.202.212.67 with HTTP; Sun, 3 Jul 2016 11:25:59 -0700 (PDT)\r
+In-Reply-To: <87inwmyhoi.fsf@alice.fifthhorseman.net>\r
+References:\r
+ <CAJhTkNiWvED4+7kAEWxWOD2PLyskG27vTfSbmZhJFUJcoBqXag@mail.gmail.com>\r
+ <87inwmyhoi.fsf@alice.fifthhorseman.net>\r
+From: Xu Wang <xuwang762@gmail.com>\r
+Date: Sun, 3 Jul 2016 14:25:59 -0400\r
+Message-ID:\r
+ <CAJhTkNiGnwDGrshUwBBp2g8ZxXVjNrJMOsfeWru-hUXvzJaYiA@mail.gmail.com>\r
+Subject: Re: ask notmuch to find back "reply-to's"\r
+To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+Cc: notmuch@notmuchmail.org\r
+Content-Type: text/plain; charset=UTF-8\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 18:26:11 -0000\r
+\r
+On Sun, Jul 3, 2016 at 9:28 AM, Daniel Kahn Gillmor\r
+<dkg@fifthhorseman.net> wrote:\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
+Ah good to know! I will keep eye out for this issue to pop up. I don't\r
+have it now since I performed a clean notmuch new to build database.\r
+\r
+Thank you for detailed response!!\r
+\r
+Kind regards,\r
+\r
+Xu\r
+\r
+>\r
+>         --dkg\r