Re: Search using email headers does not work

Subject: Re: Search using email headers does not work

Date: Tue, 12 Feb 2013 07:50:58 -0400

To: Michal Vyskocil, notmuch@notmuchmail.org

Cc:

From: David Bremner


Michal Vyskocil <mvyskocil@suse.cz> writes:

> Hi,
>
> I'd like to search for all emails with a defined email header. According
> notmuch-search(1) [1] this should be a trivial. But I got a very limited
> results
>
> $ notmuch count --exclude=false "X-Mailinglist"
> 2

Hi Michal;

Unfortunately currently headers other than those references in the
notmuch-search-terms man page are not indexed.  The only workaround I
can think of without patching notmuch is to use some tool to tag the
messages you care about.

d

Thread: