Search using email headers does not work

David Bremner david at tethera.net
Tue Feb 12 03:50:58 PST 2013


Michal Vyskocil <mvyskocil at 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


More information about the notmuch mailing list