How to index arbitrary headers?
authorPetri Savolainen <petri@koodaamo.fi>
Mon, 1 Oct 2012 12:39:32 +0000 (15:39 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:41 +0000 (09:49 -0800)
dd/3f4cce7d99faa3e0e7f6e57142fdb88b888da1 [new file with mode: 0644]

diff --git a/dd/3f4cce7d99faa3e0e7f6e57142fdb88b888da1 b/dd/3f4cce7d99faa3e0e7f6e57142fdb88b888da1
new file mode 100644 (file)
index 0000000..021a399
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <petri@koodaamo.fi>\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 5ED89431FBF\r
+       for <notmuch@notmuchmail.org>; Mon,  1 Oct 2012 05:39:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 SW42s80MPolZ for <notmuch@notmuchmail.org>;\r
+       Mon,  1 Oct 2012 05:39:33 -0700 (PDT)\r
+Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
+       [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id A25B5431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  1 Oct 2012 05:39:33 -0700 (PDT)\r
+Received: by lbbgg6 with SMTP id gg6so4116002lbb.26\r
+       for <notmuch@notmuchmail.org>; Mon, 01 Oct 2012 05:39:32 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=mime-version:x-originating-ip:date:message-id:subject:from:to\r
+       :content-type:x-gm-message-state;\r
+       bh=rFma2o1zpuPMZcWJd+GThESBpaSU3Fhcg5mskW8J+34=;\r
+       b=XXYNqWsD9qwtaJgFf0zntorJXFS2m3MUIL8K6PcXX/pq9ZCt/5EWdGUzomY01/lpCf\r
+       un2Cnrl+R1Cy0ziAWn+IWhbZesxgQze8uaQH+InxkNIrEm3dgvFNQpvgd6dAdR+75Zgb\r
+       d+p5+4WoZyWKgZplDpr+poM/2kHwb+7inL4kaNA531XYJ8pymOMQKnxKX9lQ5zOiuGxX\r
+       k5LGh9V7+d2cOgXEux7aPnnwkQKXNGdaiLac3PvOH4nfyD5KJQhGPisldXmRgYgR6gMT\r
+       i3zK2Erswxs6pz0HslWGFxr221TqFaZWzQQUhwrgcBMZb/94LP1pGDVOnk1+IHrHRE7H\r
+       7I+Q==\r
+MIME-Version: 1.0\r
+Received: by 10.152.133.140 with SMTP id pc12mr855169lab.53.1349095172131;\r
+       Mon, 01 Oct 2012 05:39:32 -0700 (PDT)\r
+Received: by 10.112.42.5 with HTTP; Mon, 1 Oct 2012 05:39:32 -0700 (PDT)\r
+X-Originating-IP: [91.155.82.121]\r
+Date: Mon, 1 Oct 2012 15:39:32 +0300\r
+Message-ID:\r
+ <CACXwgK9bmyqUMmw9LNhqc7o86_LXx8agQByusBiQt_wRbQ8O=w@mail.gmail.com>\r
+Subject: How to index arbitrary headers?\r
+From: Petri Savolainen <petri@koodaamo.fi>\r
+To: notmuch@notmuchmail.org\r
+Content-Type: multipart/alternative; boundary=f46d042dfe9980c9d104cafeb24e\r
+X-Gm-Message-State:\r
+ ALoCoQlCvSZkws1mAHSzlzuiaxb/yKe7CZCqOr94Zhg3PaQncw2I5J2D5AXjJyKHy53jBHJb3ChP\r
+X-Mailman-Approved-At: Mon, 01 Oct 2012 06:39:02 -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: Mon, 01 Oct 2012 12:39:34 -0000\r
+\r
+--f46d042dfe9980c9d104cafeb24e\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+\r
+Hello,\r
+\r
+I could not find information anywhere in notmuch docs about what is\r
+actually indexed - specifically, what email headers are indexed and\r
+searchable? If a header is not indexed, does searching for its value still\r
+result in a search hit?\r
+\r
+It would be nice if one could just provide the list of headers to be\r
+indexed in some configuration file or something.\r
+\r
+Thanks,\r
+\r
+ Petri\r
+\r
+--f46d042dfe9980c9d104cafeb24e\r
+Content-Type: text/html; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hello,<div><br></div><div>I could not find information anywhere in notmuch =\r
+docs about what is actually indexed - specifically, what email headers are =\r
+indexed and searchable? If a header is not indexed, does searching for its =\r
+value still result in a search hit?</div>\r
+<div><br></div><div>It would be nice if one could just provide the list of =\r
+headers to be indexed in some configuration file or something.</div><div><b=\r
+r></div><div>Thanks,</div><div><br></div><div>=A0Petri</div>\r
+\r
+--f46d042dfe9980c9d104cafeb24e--\r