From: eric casteleijn <thisfred@gmail.com>
To: notmuch@notmuchmail.org
Subject: Searching on arbitrary message headers
Date: Tue, 27 Jul 2010 11:23:21 -0400 [thread overview]
Message-ID: <4C4EF9E9.2000801@gmail.com> (raw)
Hi list,
after a tip from a colleague I've installed notmuch over the weekend,
and I'm impressed with its speed and flexibility to the point that I'd
really like to switch to using it exclusively.
To be able to do that there is one thing I need that I haven't figured
out how to do yet, or indeed if it's possible at all currently: Is there
a way to search in arbitrary headers? From initial experimentation, it
seems not: I can search in headers that are explicitly indexed, such as
subject:, to: and from:, or in the body text, but it does not seem that
the raw message is indexed, and I've not found a way to add additional
indexes.
My specific use case is that I get a lot of automated mail from
launchpad, which uses headers like 'X-Launchpad-Message-Rationale' to
indicate why a particular message is being delivered to me. Thunderbird
allows me to filter on arbitrary headers, which means I can divert
messages that are unlikely to need my attention so that they don't hit
my inbox.
I realize that indexing the raw message is probably not a good idea,
since for instance the routing of a particular message is unlikely to be
of interest, but I was wondering if there is a way to specify additional
headers to be indexed by notmuch, or if not, if others would find this a
worthwhile addition?
--
eric casteleijn
https://code.launchpad.net/~thisfred
http://thisfred.posterous.com/
next reply other threads:[~2010-07-27 15:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 15:23 eric casteleijn [this message]
2010-07-27 18:10 ` Searching on arbitrary message headers Michal Sojka
2010-07-28 14:24 ` eric casteleijn
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=4C4EF9E9.2000801@gmail.com \
--to=thisfred@gmail.com \
--cc=notmuch@notmuchmail.org \
/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).