--- /dev/null
+Return-Path: <paul.melis@surfsara.nl>\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 0F53F431FBD\r
+ for <notmuch@notmuchmail.org>; Mon, 27 Jan 2014 02:16:00 -0800 (PST)\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 GlCco8kfRbXp for <notmuch@notmuchmail.org>;\r
+ Mon, 27 Jan 2014 02:15:47 -0800 (PST)\r
+X-Greylist: delayed 324 seconds by postgrey-1.32 at olra;\r
+ Mon, 27 Jan 2014 02:15:47 PST\r
+Received: from smtp.sara.nl (sara-exch-fe1.ka.sara.nl [145.100.8.49])\r
+ (using TLSv1 with cipher AES128-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 58E26431FBC\r
+ for <notmuch@notmuchmail.org>; Mon, 27 Jan 2014 02:15:47 -0800 (PST)\r
+Received: from sara11006.ka.sara.nl (145.100.6.197) by smtp.sara.nl\r
+ (145.100.8.49) with Microsoft SMTP Server (TLS) id 14.2.347.0;\r
+ Mon, 27 Jan 2014 11:10:13 +0100\r
+Message-ID: <52E63086.1050001@surfsara.nl>\r
+Date: Mon, 27 Jan 2014 11:10:14 +0100\r
+From: Paul Melis <paul.melis@surfsara.nl>\r
+Organization: SURFsara\r
+User-Agent: Mozilla/5.0 (X11; Linux x86_64;\r
+ rv:24.0) Gecko/20100101 Thunderbird/24.2.0\r
+MIME-Version: 1.0\r
+To: <notmuch@notmuchmail.org>\r
+Subject: Unexpected search results\r
+Content-Type: text/plain; charset="ISO-8859-1"; format=flowed\r
+Content-Transfer-Encoding: 7bit\r
+X-Mailman-Approved-At: Mon, 27 Jan 2014 15:10:05 -0800\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: paul.melis@surfsara.nl\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, 27 Jan 2014 10:16:00 -0000\r
+\r
+Hi,\r
+\r
+How exactly does the search function work when it comes to things like \r
+searching in the from or subject field? See the below queries and (lack \r
+of) results:\r
+\r
+paulmlocal@sara11006:/data$ notmuch search from:dem\r
+paulmlocal@sara11006:/data$ notmuch search from:demi\r
+paulmlocal@sara11006:/data$ notmuch search from:demiu\r
+paulmlocal@sara11006:/data$ notmuch search from:demiur\r
+paulmlocal@sara11006:/data$ notmuch search from:demiurg\r
+thread:0000000000012d53 January 18 [1/5] Demiurg HG| Paul Melis, XXXXX\r
+thread:0000000000011b82 November 14 [3/6] Demiurg HG| Paul Melis; XXXXX\r
+\r
+Only the last queries returns the mails I was looking for, while \r
+prefixes of the query don't return anything. Even stranger is that the \r
+actual from e-mail address is demiurghg@...., so why does "from:demiurg" \r
+match (which is also a prefix of the mail address), but all the other \r
+don't match?\r
+\r
+Thanks for a great tool, btw!\r
+\r
+Regards,\r
+Paul\r
+\r
+\r
+-- \r
+** SURFsara heeft een nieuw algemeen telefoonnummer: 020 800 1300 **\r
+\r
+Paul Melis\r
+| Groepsleider & Adviseur Visualisatie | SURFsara |\r
+| Science Park 140 | 1098 XG Amsterdam |\r
+| T 020 592 30 59 | paul.melis@surfsara.nl | www.surfsara.nl |\r