Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 3c / ac4f5fc7577b3b0cc67e5b444ce5bbc888947a
1 Return-Path: <MarkR.Anderson@amd.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 48FCD431FB6\r
6         for <notmuch@notmuchmail.org>; Wed,  6 Apr 2011 14:26:12 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 6mxB--ebLskM for <notmuch@notmuchmail.org>;\r
16         Wed,  6 Apr 2011 14:26:11 -0700 (PDT)\r
17 Received: from TX2EHSOBE008.bigfish.com (tx2ehsobe004.messaging.microsoft.com\r
18         [65.55.88.14]) (using TLSv1 with cipher AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 5ADC8431FB5\r
21         for <notmuch@notmuchmail.org>; Wed,  6 Apr 2011 14:26:11 -0700 (PDT)\r
22 Received: from mail47-tx2-R.bigfish.com (10.9.14.247) by\r
23         TX2EHSOBE008.bigfish.com (10.9.40.28) with Microsoft SMTP Server id\r
24         14.1.225.8; Wed, 6 Apr 2011 21:26:09 +0000\r
25 Received: from mail47-tx2 (localhost.localdomain [127.0.0.1])   by\r
26         mail47-tx2-R.bigfish.com (Postfix) with ESMTP id 030E11358500;\r
27         Wed,  6 Apr 2011 21:26:09 +0000 (UTC)\r
28 X-SpamScore: -9\r
29 X-BigFish: VPS-9(zz98dK14ffOzz1202hzz8275bhz32i637h668h736h839h61h)\r
30 X-Spam-TCS-SCL: 0:0\r
31 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI;\r
32         H:ausb3twp02.amd.com; RD:none; EFVD:NLI\r
33 Received: from mail47-tx2 (localhost.localdomain [127.0.0.1]) by mail47-tx2\r
34         (MessageSwitch) id 1302125168800532_8088;\r
35         Wed,  6 Apr 2011 21:26:08 +0000 (UTC)\r
36 Received: from TX2EHSMHS040.bigfish.com (unknown [10.9.14.253]) by\r
37         mail47-tx2.bigfish.com (Postfix) with ESMTP id B5C43FA004D;\r
38         Wed,  6 Apr 2011 21:26:08 +0000 (UTC)\r
39 Received: from ausb3twp02.amd.com (163.181.249.109) by\r
40         TX2EHSMHS040.bigfish.com (10.9.99.140) with Microsoft SMTP Server id\r
41         14.1.225.8; Wed, 6 Apr 2011 21:26:08 +0000\r
42 X-WSS-ID: 0LJ927F-02-11B-02\r
43 X-M-MSG: \r
44 Received: from sausexedgep02.amd.com (sausexedgep02-ext.amd.com\r
45         [163.181.249.73])       (using TLSv1 with cipher AES128-SHA (128/128\r
46         bits))  (No\r
47         client certificate requested)   by ausb3twp02.amd.com (Axway MailGate\r
48         3.8.1)\r
49         with ESMTP id 28531FCC038;      Wed,  6 Apr 2011 16:26:03 -0500 (CDT)\r
50 Received: from sausexhtp01.amd.com (163.181.3.165) by sausexedgep02.amd.com\r
51         (163.181.36.59) with Microsoft SMTP Server (TLS) id 8.3.106.1;\r
52         Wed, 6 Apr 2011 16:26:28 -0500\r
53 Received: from optimon.amd.com (163.181.34.104) by sausexhtp01.amd.com\r
54         (163.181.3.165) with Microsoft SMTP Server (TLS) id 8.3.83.0;\r
55         Wed, 6 Apr 2011 16:26:07 -0500\r
56 Received: from mhdc-ns01.amd.com (mhdc-ns01.amd.com [165.204.35.147])   by\r
57         optimon.amd.com (8.12.10/8.12.10) with ESMTP id p36LQ72B002456;\r
58         Wed, 6 Apr 2011 16:26:07 -0500\r
59 Received: from testarossa.amd.com (testarossa.amd.com [165.204.147.44]) by\r
60         mhdc-ns01.amd.com (8.13.8+Sun/8.13.8) with ESMTP id p36LQ74W011610;\r
61         Wed, 6 Apr 2011 15:26:07 -0600 (MDT)\r
62 Received: (from manderso@localhost)     by testarossa.amd.com\r
63         (8.13.1/8.13.1/Submit) id p36LQ6Jf012435; Wed, 6 Apr 2011 15:26:06 -0600\r
64 X-Authentication-Warning: testarossa.amd.com: manderso set sender to\r
65         MarkR.Anderson@amd.com using -f\r
66 From: Mark Anderson <MarkR.Anderson@amd.com>\r
67 To: Aaron Williamson <aaron@copiesofcopies.org>\r
68 Subject: Re: Debugging strangeness in To: field\r
69 In-Reply-To: <3wd4o6b2mwf.fsf@testarossa.amd.com>\r
70 References: <3wd7hb72omm.fsf@testarossa.amd.com>\r
71         <4D9CBABB.4090201@copiesofcopies.org>\r
72         <3wd4o6b2mwf.fsf@testarossa.amd.com>\r
73 User-Agent: Notmuch/0.5-82-geead238 (http://notmuchmail.org) Emacs/23.1.1\r
74         (i686-pc-linux-gnu)\r
75 Date: Wed, 6 Apr 2011 15:26:06 -0600\r
76 Message-ID: <3wd1v1f2hsh.fsf@testarossa.amd.com>\r
77 MIME-Version: 1.0\r
78 Content-Type: text/plain; charset="us-ascii"\r
79 X-OriginatorOrg: amd.com\r
80 Cc: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>\r
81 X-BeenThere: notmuch@notmuchmail.org\r
82 X-Mailman-Version: 2.1.13\r
83 Precedence: list\r
84 List-Id: "Use and development of the notmuch mail system."\r
85         <notmuch.notmuchmail.org>\r
86 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
87         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
88 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
89 List-Post: <mailto:notmuch@notmuchmail.org>\r
90 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
91 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
92         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
93 X-List-Received-Date: Wed, 06 Apr 2011 21:26:12 -0000\r
94 \r
95 On Wed, 06 Apr 2011 13:35:44 -0600, Mark Anderson <MarkR.Anderson@amd.com> wrote:\r
96 Hello All,\r
97 \r
98 > It is rather painful that I can have a lot of recipients dropped\r
99 > silently by gmime.\r
100 \r
101 Well, it's not this bad, I only lose the rest of the display name and\r
102 the true email address for the recipients where this matches.  Later\r
103 recipients are preserved.  That's better than I thought, but definitely\r
104 not good, since the same email list can have multiple display names\r
105 depending on the sender's preferences, and now I have no guarantee that\r
106 notmuch will have the true email address indexed.  Hopefully this poor\r
107 behavior is related to my exposure to Exchange and isn't contagious\r
108 without willful stupidity. :)\r
109 \r
110 This behavior also breaks the idea that I can just copy and paste from\r
111 the To: field into a search, since some terms will be missing.\r
112 \r
113 It looks like it would be better to stuff the entire string of the To:\r
114 field directly into Xapian.  GMime will give you a string output of what it\r
115 figured out from the message header, but that already has terms pruned\r
116 as shown below:\r
117 \r
118 >From the raw file:\r
119 \r
120 To: One Big Happy <OneBigHappy@amd.com>, \r
121         dist.Happy Group <dist.HappyGroup@amd.com>,\r
122         This Really Stinks <something_smelly@notfromhere.com>,\r
123         This.WillPrune <wrinkled_plum@plumfarm.com>,\r
124         This Will Not Prune <plump_plums@plumsrus.com>\r
125 \r
126 Trace output:\r
127 \r
128 Email address list: One Big Happy <OneBigHappy@amd.com>, dist.Happy, This Really Stinks <something_smelly@notfromhere.com>, This.WillPrune, This Will Not Prune <plump_plums@plumsrus.com>\r
129 Email address: One Big Happy <OneBigHappy@amd.com>\r
130 Email address: dist.Happy\r
131 Email address: This Really Stinks <something_smelly@notfromhere.com>\r
132 Email address: This.WillPrune\r
133 Email address: This Will Not Prune <plump_plums@plumsrus.com>\r
134 \r
135 Any suggestions for how to fix this?  Or is my mail broken irreparably?\r
136 \r
137 -Mark\r
138 \r