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