From: David Bremner <david@tethera.net>
To: Petter Reinholdtsen <pere@hungry.com>, notmuch@notmuchmail.org
Subject: Re: Tag notmuch email based on header values?
Date: Tue, 04 Oct 2022 11:32:05 -0300 [thread overview]
Message-ID: <87sfk3zml6.fsf@tethera.net> (raw)
In-Reply-To: <sa6wn9fhk1g.fsf@hjemme.reinholdtsen.name>
Petter Reinholdtsen <pere@hungry.com> writes:
> I would like to tag all emails with a specific header, but fail to find
> a way to do this. Is this a missing feature in notmuch?
>
> To be specific, I want to filter out emails related to request tracker
> tickets owned by me at the time of the email. These emails get a simple
> RFC 822 style header in each email, that look like this:
>
> RT-Owner: myusername
>
> I tried searching for 'RT-Owner' without any success, and have read the
> normuch-search-terms(7) dokucmentation trying to find a clue. Is there
> something obvious I am missing.
>
> PS: Please CC me on replies, as I am not subscribed to the list.
>
You can add RT-Owner as header to index (see notmuch-config(1)) and re-index.
prev parent reply other threads:[~2022-10-04 14:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-04 12:04 Tag notmuch email based on header values? Petter Reinholdtsen
2022-10-04 12:48 ` Alan Schmitt
2022-10-04 14:32 ` David Bremner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfk3zml6.fsf@tethera.net \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
--cc=pere@hungry.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).