1 Return-Path: <mvyskocil@suse.cz>
\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 403D1431FBD
\r
6 for <notmuch@notmuchmail.org>; Mon, 11 Feb 2013 11:24:16 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-5 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_HI=-5] 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 CVeu+aADQjbv for <notmuch@notmuchmail.org>;
\r
16 Mon, 11 Feb 2013 11:24:14 -0800 (PST)
\r
17 X-Greylist: delayed 4166 seconds by postgrey-1.32 at olra;
\r
18 Mon, 11 Feb 2013 11:24:14 PST
\r
19 Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15])
\r
20 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id 80C94431FAE
\r
23 for <notmuch@notmuchmail.org>; Mon, 11 Feb 2013 11:24:14 -0800 (PST)
\r
24 Received: from relay1.suse.de (unknown [195.135.220.254])
\r
25 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
26 (No client certificate requested)
\r
27 by mx2.suse.de (Postfix) with ESMTP id BC277A39D2
\r
28 for <notmuch@notmuchmail.org>; Mon, 11 Feb 2013 15:51:54 +0100 (CET)
\r
29 Date: Mon, 11 Feb 2013 15:52:59 +0100
\r
30 From: Michal Vyskocil <mvyskocil@suse.cz>
\r
31 To: notmuch@notmuchmail.org
\r
32 Subject: Search using email headers does not work
\r
33 Message-ID: <20130211145259.GF7346@zelvantb.site>
\r
35 Content-Type: multipart/signed; micalg=pgp-sha1;
\r
36 protocol="application/pgp-signature"; boundary="uCPdOCrL+PnN2Vxy"
\r
37 Content-Disposition: inline
\r
38 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
39 X-Mailman-Approved-At: Mon, 11 Feb 2013 13:21:49 -0800
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\r
43 List-Id: "Use and development of the notmuch mail system."
\r
44 <notmuch.notmuchmail.org>
\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
48 List-Post: <mailto:notmuch@notmuchmail.org>
\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
52 X-List-Received-Date: Mon, 11 Feb 2013 19:24:16 -0000
\r
56 Content-Type: text/plain; charset=us-ascii
\r
57 Content-Disposition: inline
\r
61 I'd like to search for all emails with a defined email header. According
\r
62 notmuch-search(1) [1] this should be a trivial. But I got a very limited
\r
65 $ notmuch count --exclude=false "X-Mailinglist"
\r
69 $ grep -R "^X-Mailinglist" .
\r
70 ./new/1360572283.M251897P7737Q200Ra1da4988633e0842.zelvantb:X-Mailinglist:
\r
72 ./new/1360315438.M35384P12994Q25807R1a5203f9da8b1b28.zelvantb:X-Mailinglist:
\r
74 ./new/1360315441.M705450P13019Q25830R71a1deb928bb7cf3.zelvantb:X-Mailinglist:
\r
76 ./new/1360315436.M459220P12984Q25797R13d6f3a1f39d2148.zelvantb:X-Mailinglist:
\r
78 ./new/1360315381.M437845P12634Q25464R3bccd68f2b8fd54f.zelvantb:X-Mailinglist:
\r
80 ./new/1360315556.M414918P13763Q26528R614e01d632d1c3d8.zelvantb:X-Mailinglist:
\r
84 shows me, there are hundreds and hundreds of such emails in my local
\r
85 maildir. I use very simple setup generated by notmuch-setup with a basic
\r
86 set of inbox, undread signed and similar tags.
\r
88 Can anyone point me on a correct query string for such search? I have
\r
89 following versions of xapian and notmuch installed
\r
91 $ rpm -q libxapian22 notmuch
\r
92 libxapian22-1.2.8-2.1.2.x86_64
\r
93 notmuch-0.14-20.3.x86_64
\r
95 [1] http://notmuchmail.org/manpages/notmuch-search-1/
\r
97 BTW: please CC me in a reply, I've just signed to the ML, but did not
\r
98 get the you-were-subscribed email from mailman.
\r
104 Content-Type: application/pgp-signature; name="signature.asc"
\r
105 Content-Description: Digital signature
\r
107 -----BEGIN PGP SIGNATURE-----
\r
108 Version: GnuPG v2.0.19 (GNU/Linux)
\r
110 iEYEARECAAYFAlEZBcsACgkQGwzgx2QvQgR85gCeM99H7ZsaXLYOKCNyojTKoFLR
\r
111 wDEAniPWnoPfO1/cVoH3z2V2oavWH8B2
\r
113 -----END PGP SIGNATURE-----
\r
115 --uCPdOCrL+PnN2Vxy--
\r