From: David Bremner Date: Tue, 12 Aug 2014 00:36:25 +0000 (+2100) Subject: Re: Matching on any header line X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4423f3b118c61bc850f9a5a89dad00a077cc8c9f;p=notmuch-archives.git Re: Matching on any header line --- diff --git a/b2/ca02e30b02a0f7fbe7581d6f10019d58976bd1 b/b2/ca02e30b02a0f7fbe7581d6f10019d58976bd1 new file mode 100644 index 000000000..8220f3fa7 --- /dev/null +++ b/b2/ca02e30b02a0f7fbe7581d6f10019d58976bd1 @@ -0,0 +1,77 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id B2C38431FAF + for ; Mon, 11 Aug 2014 17:36:41 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Nf2y9J6vYVEM for ; + Mon, 11 Aug 2014 17:36:34 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 3142F431FAE + for ; Mon, 11 Aug 2014 17:36:34 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1XH04j-0007nI-8H; Mon, 11 Aug 2014 21:36:29 -0300 +Received: (nullmailer pid 18104 invoked by uid 1000); Tue, 12 Aug 2014 + 00:36:25 -0000 +From: David Bremner +To: Nico Schottelius +Subject: Re: Matching on any header line +In-Reply-To: <20140811165029.GB10944@schottelius.org> +References: <20140808075519.GA27645@schottelius.org> + <87a97bf0dd.fsf@tethera.net> <20140811165029.GB10944@schottelius.org> +User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Mon, 11 Aug 2014 21:36:25 -0300 +Message-ID: <87ha1ifss6.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +Cc: notmuch@notmuchmail.org, + Nico Schottelius +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Tue, 12 Aug 2014 00:36:41 -0000 + +Nico Schottelius writes: + +> David Bremner [Mon, Aug 11, 2014 at 01:37:50PM -0300]: +>> Nico Schottelius writes: +>> +>> > I have the problem that often To/Cc do not reveal the real destination, +>> > so I would like to match on X-Original-To: or Delivered-To: +>> > header lines. +>> > +>> > So I was wondering, if there is generic support to match on something +>> > like "header:x-original-to:this@example.org"? +>> +>> Such support does not currently exist in notmuch. +> +> Too bad - if you are in general open for it, I will add it to my +> "to hack" list. + +I _think_ the concensus was that want to configure the set of headers +indexed, mainly based on worries about bloating the database. At least, +certain long headers like Received would most likely need to be +blacklisted. + +d