From: Vladimir Marek <Vladimir.Marek@Oracle.COM>
To: Austin Clements <amdragon@mit.edu>
Cc: Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: Re: Re: How to find mails which are sent to 'undisclosed-recipients' ?
Date: Mon, 15 Jul 2013 14:53:28 +0200 [thread overview]
Message-ID: <20130715125328.GA16666@virt.cz.oracle.com> (raw)
In-Reply-To: <20130711215207.GR2214@mit.edu>
> > > > Since my mail works in a way that it hides everything but what I
> > > > selected to be shown to me, I was overlooking all mails which where sent
> > > > to undisclosed-recipients. I tried to match such mails by
> > > > to:undisclosed-recipients but that does not seem to work. Is there any
> > > > workaround to find such mails?
> > >
> > > I have some mail with this To header:
> > >
> > > To: Undisclosed recipients <Undisclosed recipients:;>
> > >
> > > I can find them with the search to:"Undisclosed recipients". Note the quotes.
> >
> > The To: line in my case looks like:
> >
> > To: undisclosed-recipients:;
>
> RFC822 group syntax! Fascinating. You're right that notmuch doesn't
> index group names, though I think it could with a small addition to
> _index_address_group. It already descends into group addresses, it
> just currently ignores the group name.
>
> > And I'm not able to find it in any way. Maybe notmuch won't parse it as an
> > email and so won't store the To header to the database?
>
> I suspect it is indexing it. The only thing notmuch requires is that
> the message be at least slightly well-formed and have either a From,
> Subject, or To header. You can find the message's Message-ID header
> and try a search like
>
> notmuch search id:<message-id>
>
> > Any idea if there is a way to dump what notmuch knows about given email?
>
> There's no easy way. You can use Xapian's quest and delve tools to
> find the document ID and get the term list of a message, but this is a
> *very* low-level view of what notmuch knows.
Thank you for looking at this. At the moment I plugged procmail to my
setup to tag any such messages (sent to undisclosed recipients) with
appropriate tag.
Thank you
--
Vlad
prev parent reply other threads:[~2013-07-15 12:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-11 15:24 How to find mails which are sent to 'undisclosed-recipients' ? Vladimir Marek
2013-07-11 17:01 ` Adam Wolfe Gordon
2013-07-11 18:03 ` Vladimir Marek
2013-07-11 21:52 ` Austin Clements
2013-07-15 12:53 ` Vladimir Marek [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=20130715125328.GA16666@virt.cz.oracle.com \
--to=vladimir.marek@oracle.com \
--cc=amdragon@mit.edu \
--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).