Re: Indexing and searching for a particular header

Subject: Re: Indexing and searching for a particular header

Date: Mon, 10 Jan 2022 07:55:50 -0400

To: Tohiko Looka, notmuch@notmuchmail.org

Cc:

From: David Bremner


Tohiko Looka <toh.looka@gmail.com> writes:

> This is a question or a feature request.
>
> Is there a way to make notmuch add a particular header to the content
> of an email, in terms of indexing it and being able to search for text
> in that header?
> The use case I want to use it for is a header ("X-Note") that I use to
> attach a note to an email so that I can search for it later. These
> notes and too specific and cannot be easily summed up by keywords.

Yes, see index.header in notmuch-config(1)

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: