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