Re: Matching on any header line
authorDavid Bremner <david@tethera.net>
Mon, 11 Aug 2014 16:37:50 +0000 (13:37 +2100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:12 +0000 (10:04 -0800)
0d/33e43382a52a12b8567d3f3359a04610a5e1c4 [new file with mode: 0644]

diff --git a/0d/33e43382a52a12b8567d3f3359a04610a5e1c4 b/0d/33e43382a52a12b8567d3f3359a04610a5e1c4
new file mode 100644 (file)
index 0000000..bcec903
--- /dev/null
@@ -0,0 +1,64 @@
+Return-Path: <david@tethera.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 olra.theworths.org (Postfix) with ESMTP id 12B43431FAF\r
+       for <notmuch@notmuchmail.org>; Mon, 11 Aug 2014 09:38:04 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.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 olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id A8sZjtUFVBZX for <notmuch@notmuchmail.org>;\r
+       Mon, 11 Aug 2014 09:37:56 -0700 (PDT)\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 125E3431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 11 Aug 2014 09:37:56 -0700 (PDT)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+       (envelope-from <david@tethera.net>)\r
+       id 1XGsbZ-0005iJ-Re; Mon, 11 Aug 2014 13:37:53 -0300\r
+Received: (nullmailer pid 7098 invoked by uid 1000); Mon, 11 Aug 2014\r
+       16:37:50 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Nico Schottelius <nico-notmuch-mail@schottelius.org>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: Matching on any header line\r
+In-Reply-To: <20140808075519.GA27645@schottelius.org>\r
+References: <20140808075519.GA27645@schottelius.org>\r
+User-Agent: Notmuch/0.18.1+6~g1ba7098 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Mon, 11 Aug 2014 13:37:50 -0300\r
+Message-ID: <87a97bf0dd.fsf@tethera.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 11 Aug 2014 16:38:04 -0000\r
+\r
+Nico Schottelius <nico-notmuch-mail@schottelius.org> writes:\r
+\r
+> I have the problem that often To/Cc do not reveal the real destination,\r
+> so I would like to match on X-Original-To: or Delivered-To:\r
+> header lines.\r
+>\r
+> So I was wondering, if there is generic support to match on something\r
+> like "header:x-original-to:this@example.org"?\r
+\r
+Such support does not currently exist in notmuch.\r
+\r
+d\r