From: Nico Schottelius Date: Fri, 8 Aug 2014 07:55:19 +0000 (+0200) Subject: Matching on any header line X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9160a9d31c3456b32d788399fbe4a7439187c211;p=notmuch-archives.git Matching on any header line --- diff --git a/29/a86393adf6b3e66970398e198ed362814fb639 b/29/a86393adf6b3e66970398e198ed362814fb639 new file mode 100644 index 000000000..6659167eb --- /dev/null +++ b/29/a86393adf6b3e66970398e198ed362814fb639 @@ -0,0 +1,75 @@ +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 86569431FAF + for ; Fri, 8 Aug 2014 01:04:40 -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 FzfxUTQVGN6X for ; + Fri, 8 Aug 2014 01:04:35 -0700 (PDT) +X-Greylist: delayed 492 seconds by postgrey-1.32 at olra; + Fri, 08 Aug 2014 01:04:34 PDT +Received: from mx.ungleich.ch (mx.ungleich.ch [77.109.138.221]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id DDD1B431FAE + for ; Fri, 8 Aug 2014 01:04:34 -0700 (PDT) +Received: from artist.localdomain (tee.schottelius.org [77.109.138.222]) + by mx.ungleich.ch (Postfix) with ESMTP id ACE32197A00A + for ; Fri, 8 Aug 2014 09:56:15 +0200 (CEST) +Received: by artist.localdomain (Postfix, from userid 1000) + id 419A36A2B52; Fri, 8 Aug 2014 09:55:19 +0200 (CEST) +Date: Fri, 8 Aug 2014 09:55:19 +0200 +From: Nico Schottelius +To: notmuch@notmuchmail.org +Subject: Matching on any header line +Message-ID: <20140808075519.GA27645@schottelius.org> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +User-Agent: echo $message | gpg -e $sender -s | netcat mailhost 25 +X-Netzseite: http://www.nico.schottelius.org/ +X-System-Info: artist (Linux 3.15.7-1-ARCH x86_64) +X-Mailman-Approved-At: Mon, 11 Aug 2014 03:39:57 -0700 +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: Fri, 08 Aug 2014 08:04:40 -0000 + +Good morning, + +I am using mutt-kz with notmuch as the backend. + +I was wondering if it is possible to match on any header line? + +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"? + +Cheers, + +Nico + +p.s.: Please CC on reply, I am not subscribed. + +-- +New PGP key: 659B 0D91 E86E 7E24 FD15 69D0 C729 21A1 293F 2D24