Re: Re: How to find mails which are sent to 'undisclosed-recipients' ?
authorAustin Clements <amdragon@MIT.EDU>
Thu, 11 Jul 2013 21:52:07 +0000 (17:52 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:58 +0000 (09:55 -0800)
19/b79cab6afb6bc60bc43fd6dd8f5e4c8e55dff6 [new file with mode: 0644]

diff --git a/19/b79cab6afb6bc60bc43fd6dd8f5e4c8e55dff6 b/19/b79cab6afb6bc60bc43fd6dd8f5e4c8e55dff6
new file mode 100644 (file)
index 0000000..2a87618
--- /dev/null
@@ -0,0 +1,118 @@
+Return-Path: <amdragon@mit.edu>\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 1740C431FAF\r
+       for <notmuch@notmuchmail.org>; Thu, 11 Jul 2013 14:52:21 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 STe9LKFDDzgD for <notmuch@notmuchmail.org>;\r
+       Thu, 11 Jul 2013 14:52:13 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu\r
+       [18.9.25.13])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3EA18431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 11 Jul 2013 14:52:13 -0700 (PDT)\r
+X-AuditID: 1209190d-b7f078e000000937-16-51df290bbaea\r
+Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])\r
+       by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP\r
+       id F6.B9.02359.B092FD15; Thu, 11 Jul 2013 17:52:11 -0400 (EDT)\r
+Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
+       by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id r6BLq9aV008410; \r
+       Thu, 11 Jul 2013 17:52:11 -0400\r
+Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
+       (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r6BLq721004054\r
+       (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);\r
+       Thu, 11 Jul 2013 17:52:09 -0400\r
+Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80)\r
+       (envelope-from <amdragon@mit.edu>)\r
+       id 1UxOmV-000340-DM; Thu, 11 Jul 2013 17:52:07 -0400\r
+Date: Thu, 11 Jul 2013 17:52:07 -0400\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: Vladimir Marek <Vladimir.Marek@Oracle.COM>\r
+Subject: Re: Re: How to find mails which are sent to 'undisclosed-recipients'\r
+ ?\r
+Message-ID: <20130711215207.GR2214@mit.edu>\r
+References: <20130711152427.GA16395@virt.cz.oracle.com>\r
+       <CAMoJFUvQzD4Mi0dmaUOapCY-f2c4Sf=kr4zsr42fA8ndQpSO=A@mail.gmail.com>\r
+       <20130711180302.GC16395@virt.cz.oracle.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <20130711180302.GC16395@virt.cz.oracle.com>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFmplleLIzCtJLcpLzFFi42IR4hTV1uXWvB9o8L1P3uL6zZnMFh23d7M5\r
+       MHk8W3WL2ePj01ssAUxRXDYpqTmZZalF+nYJXBk7lt9iKzjCU7H593qmBsbHnF2MnBwSAiYS\r
+       Ow/OYYGwxSQu3FvP1sXIxSEksI9RYnZLEyuEs5FR4t3rvywQzmkmicszj7BDOEsYJe7M2McE\r
+       0s8ioCrx5Os/NhCbTUBDYtv+5YwgtoiAnsSmTcdYQWxmAS2JrRs/gMWFBQIlXi3pB6vnFdCW\r
+       +PX1NNSGNYwST5+tZoVICEqcnPmEBab5xr+XQMs4gGxpieX/OEDCnAIWEvcnzgIrFxVQkZhy\r
+       chvbBEahWUi6ZyHpnoXQvYCReRWjbEpulW5uYmZOcWqybnFyYl5eapGukV5uZoleakrpJkZw\r
+       aEvy7mB8d1DpEKMAB6MSD2/BiXuBQqyJZcWVuYcYJTmYlER52yXvBwrxJeWnVGYkFmfEF5Xm\r
+       pBYfYpTgYFYS4Q2+AlTOm5JYWZValA+TkuZgURLnffr0bKCQQHpiSWp2ampBahFMVoaDQ0mC\r
+       N00DaKhgUWp6akVaZk4JQpqJgxNkOA/Q8EKQGt7igsTc4sx0iPwpRkUpcV4tkIQASCKjNA+u\r
+       F5Z6XjGKA70izBsDUsUDTFtw3a+ABjMBDd6TcgdkcEkiQkqqgbEx75fyg5llDxytq/jzdj7d\r
+       cX7mfeNfS0VuOUjO7ORZfefvrsDIa+9MDn/e77+i6dLcXNbprvd8vJK67WRvKOc/ueSmMqNR\r
+       0JtTrMJ38pFUqfpMr9PHrNb9MW34WrLXIua+67Xlmn0TXzx2OnTLa3LKaeNpDvX7fuoKnOA5\r
+       cPnmYseVDx/v0+pVYinOSDTUYi4qTgQAFO2r2xgDAAA=\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: Thu, 11 Jul 2013 21:52:21 -0000\r
+\r
+Quoth Vladimir Marek on Jul 11 at  8:03 pm:\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
+> Thank you\r