Re: Matching on any header line
[notmuch-archives.git] / b2 / ca02e30b02a0f7fbe7581d6f10019d58976bd1
1 Return-Path: <david@tethera.net>\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 olra.theworths.org (Postfix) with ESMTP id B2C38431FAF\r
6         for <notmuch@notmuchmail.org>; Mon, 11 Aug 2014 17:36:41 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id Nf2y9J6vYVEM for <notmuch@notmuchmail.org>;\r
16         Mon, 11 Aug 2014 17:36:34 -0700 (PDT)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 3142F431FAE\r
21         for <notmuch@notmuchmail.org>; Mon, 11 Aug 2014 17:36:34 -0700 (PDT)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <david@tethera.net>)\r
24         id 1XH04j-0007nI-8H; Mon, 11 Aug 2014 21:36:29 -0300\r
25 Received: (nullmailer pid 18104 invoked by uid 1000); Tue, 12 Aug 2014\r
26         00:36:25 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: Nico Schottelius <nico-notmuch-mail@schottelius.org>\r
29 Subject: Re: Matching on any header line\r
30 In-Reply-To: <20140811165029.GB10944@schottelius.org>\r
31 References: <20140808075519.GA27645@schottelius.org>\r
32         <87a97bf0dd.fsf@tethera.net> <20140811165029.GB10944@schottelius.org>\r
33 User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1\r
34         (x86_64-pc-linux-gnu)\r
35 Date: Mon, 11 Aug 2014 21:36:25 -0300\r
36 Message-ID: <87ha1ifss6.fsf@maritornes.cs.unb.ca>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 Cc: notmuch@notmuchmail.org,\r
40         Nico Schottelius <nico-notmuch-mail@schottelius.org>\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Tue, 12 Aug 2014 00:36:41 -0000\r
54 \r
55 Nico Schottelius <nico-notmuch-mail@schottelius.org> writes:\r
56 \r
57 > David Bremner [Mon, Aug 11, 2014 at 01:37:50PM -0300]:\r
58 >> Nico Schottelius <nico-notmuch-mail@schottelius.org> writes:\r
59 >> \r
60 >> > I have the problem that often To/Cc do not reveal the real destination,\r
61 >> > so I would like to match on X-Original-To: or Delivered-To:\r
62 >> > header lines.\r
63 >> >\r
64 >> > So I was wondering, if there is generic support to match on something\r
65 >> > like "header:x-original-to:this@example.org"?\r
66 >> \r
67 >> Such support does not currently exist in notmuch.\r
68 >\r
69 > Too bad - if you are in general open for it, I will add it to my\r
70 > "to hack" list.\r
71 \r
72 I _think_ the concensus was that want to configure the set of headers\r
73 indexed, mainly based on worries about bloating the database.  At least,\r
74 certain long headers like Received would most likely need to be\r
75 blacklisted.\r
76 \r
77 d\r