--- /dev/null
+Return-Path: <Vladimir.Marek@Oracle.COM>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 14C5E431FBD\r
+ for <notmuch@notmuchmail.org>; Mon, 15 Jul 2013 05:53:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.299\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id R0eTOUFA9Lxw for <notmuch@notmuchmail.org>;\r
+ Mon, 15 Jul 2013 05:53:40 -0700 (PDT)\r
+Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81])\r
+ (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id A58C3431FBC\r
+ for <notmuch@notmuchmail.org>; Mon, 15 Jul 2013 05:53:40 -0700 (PDT)\r
+Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237])\r
+ by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with\r
+ ESMTP id r6FCrZVN027297\r
+ (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);\r
+ Mon, 15 Jul 2013 12:53:38 GMT\r
+Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230])\r
+ by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id\r
+ r6FCrYwx005552\r
+ (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);\r
+ Mon, 15 Jul 2013 12:53:35 GMT\r
+Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56])\r
+ by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id\r
+ r6FCrYIu005549; Mon, 15 Jul 2013 12:53:34 GMT\r
+Received: from virt.cz.oracle.com (/10.163.102.127)\r
+ by default (Oracle Beehive Gateway v4.0)\r
+ with ESMTP ; Mon, 15 Jul 2013 05:53:33 -0700\r
+Date: Mon, 15 Jul 2013 14:53:28 +0200\r
+From: Vladimir Marek <Vladimir.Marek@Oracle.COM>\r
+To: Austin Clements <amdragon@mit.edu>\r
+Subject: Re: Re: Re: How to find mails which are sent to\r
+ 'undisclosed-recipients' ?\r
+Message-ID: <20130715125328.GA16666@virt.cz.oracle.com>\r
+References: <20130711152427.GA16395@virt.cz.oracle.com>\r
+ <CAMoJFUvQzD4Mi0dmaUOapCY-f2c4Sf=kr4zsr42fA8ndQpSO=A@mail.gmail.com>\r
+ <20130711180302.GC16395@virt.cz.oracle.com>\r
+ <20130711215207.GR2214@mit.edu>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+In-Reply-To: <20130711215207.GR2214@mit.edu>\r
+User-Agent: Mutt/ (2012-12-30)\r
+X-Source-IP: acsinet21.oracle.com [141.146.126.237]\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 15 Jul 2013 12:53:48 -0000\r
+\r
+> > > > Since my mail works in a way that it hides everything but what I\r
+> > > > selected to be shown to me, I was overlooking all mails which where sent\r
+> > > > to undisclosed-recipients. I tried to match such mails by\r
+> > > > to:undisclosed-recipients but that does not seem to work. Is there any\r
+> > > > workaround to find such mails?\r
+> > > \r
+> > > I have some mail with this To header:\r
+> > > \r
+> > > To: Undisclosed recipients <Undisclosed recipients:;>\r
+> > > \r
+> > > I can find them with the search to:"Undisclosed recipients". Note the quotes.\r
+> > \r
+> > The To: line in my case looks like:\r
+> > \r
+> > To: undisclosed-recipients:;\r
+> \r
+> RFC822 group syntax! Fascinating. You're right that notmuch doesn't\r
+> index group names, though I think it could with a small addition to\r
+> _index_address_group. It already descends into group addresses, it\r
+> just currently ignores the group name.\r
+> \r
+> > And I'm not able to find it in any way. Maybe notmuch won't parse it as an\r
+> > email and so won't store the To header to the database?\r
+> \r
+> I suspect it is indexing it. The only thing notmuch requires is that\r
+> the message be at least slightly well-formed and have either a From,\r
+> Subject, or To header. You can find the message's Message-ID header\r
+> and try a search like\r
+> \r
+> notmuch search id:<message-id>\r
+> \r
+> > Any idea if there is a way to dump what notmuch knows about given email?\r
+> \r
+> There's no easy way. You can use Xapian's quest and delve tools to\r
+> find the document ID and get the term list of a message, but this is a\r
+> *very* low-level view of what notmuch knows.\r
+\r
+\r
+Thank you for looking at this. At the moment I plugged procmail to my\r
+setup to tag any such messages (sent to undisclosed recipients) with\r
+appropriate tag.\r
+\r
+Thank you\r
+-- \r
+ Vlad\r