From b375c94eb16a626c519ab09146a6921ddefff899 Mon Sep 17 00:00:00 2001 From: Suvayu Ali Date: Sat, 13 Jun 2015 22:55:52 +0200 Subject: [PATCH] Re: search query "replytoid:" --- 24/fe674bab13746c5cf511c3802185de3be5b47c | 94 +++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 24/fe674bab13746c5cf511c3802185de3be5b47c diff --git a/24/fe674bab13746c5cf511c3802185de3be5b47c b/24/fe674bab13746c5cf511c3802185de3be5b47c new file mode 100644 index 000000000..6eb2aebdf --- /dev/null +++ b/24/fe674bab13746c5cf511c3802185de3be5b47c @@ -0,0 +1,94 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 126A16DE0B20 + for ; Sat, 13 Jun 2015 13:55:58 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.719 +X-Spam-Level: +X-Spam-Status: No, score=-0.719 tagged_above=-999 required=5 tests=[AWL=0.101, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, + SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id xNXLv8026fVB for ; + Sat, 13 Jun 2015 13:55:56 -0700 (PDT) +Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com + [74.125.82.53]) by arlo.cworth.org (Postfix) with ESMTPS id 0DD956DE0948 for + ; Sat, 13 Jun 2015 13:55:56 -0700 (PDT) +Received: by wgez8 with SMTP id z8so43805304wge.0 + for ; Sat, 13 Jun 2015 13:55:54 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=sender:date:from:to:subject:message-id:mail-followup-to:references + :mime-version:content-type:content-disposition:in-reply-to + :user-agent; bh=xn+Mkw0b1c6q0LQJ+9ld72cz0lqyq2sobcKvBdTEg7s=; + b=U4CIH9PVhRexR51sqvdxyDlcN1vOeWX+lXS8QM4pkr/fhc3FUKB7zXzUN+uAkYZdCW + fDyL9VpYrGa/nh/NIweXZH+NupwHtwQ9GbH67FP8YDJLzza4f4v5qq9vZ6c3MsLwW9xi + BkToXoR5p68hMAESfE695nApPX/oeWRP78JHlryWGRDXhA6FiNiRIUweLG6fdEsQtQGJ + 44mSS+KLnhMHjteDCobuo7sphowSWAXn2dEMC95q7nxEnKM7IrFLMrvBw0vaVbo3XgLf + 7NwFtjHakH8e+fBi/LRVJ8lJR1Vc8bBFVm2tpixKAEWrfwFlpV40hqgeqyA29Hj53QFQ + FjUQ== +X-Received: by 10.180.107.138 with SMTP id hc10mr18172373wib.2.1434228954537; + Sat, 13 Jun 2015 13:55:54 -0700 (PDT) +Received: from chitra.no-ip.org (ip82-139-115-46.lijbrandt.net. + [82.139.115.46]) + by mx.google.com with ESMTPSA id cd9sm11813183wjc.34.2015.06.13.13.55.53 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Sat, 13 Jun 2015 13:55:53 -0700 (PDT) +Sender: Suvayu Ali +Date: Sat, 13 Jun 2015 22:55:52 +0200 +From: Suvayu Ali +To: notmuch@notmuchmail.org +Subject: Re: search query "replytoid:" +Message-ID: <20150613205552.GC17381@chitra.no-ip.org> +Mail-Followup-To: notmuch@notmuchmail.org +References: + +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: + +User-Agent: Mutt/1.5.23.1 (2014-03-12) +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 13 Jun 2015 20:55:58 -0000 + +Hi, + +On Sat, Jun 13, 2015 at 02:47:00PM -0400, Xu Wang wrote: +> +> Is it possible to search based on which message ID a message +> *responds* to? For example, suppose message id is MESSAGEID. I want to +> find all emails that responded to MESSAGEID. How to enter such a query +> into notmuch? + +AFAIK, this is not possible. Notmuch does not allow searching special +headers. You could probably write a script using the threads output +format to get the thread, and then use formail to find the responses. + +I however think you are probably approaching the problem incorrectly, +but that's just a guess. More information about what is your goal and +why, would help. Maybe there is another way to achieve what you want to +achieve. + +Hope this helps, + +-- +Suvayu + +Open source is the future. It sets us free. -- 2.26.2