Re: How to debug 'ignoring non-mail file' issues
authorPerttu Luukko <perttu.luukko@iki.fi>
Mon, 1 Sep 2014 06:41:06 +0000 (09:41 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:22 +0000 (10:04 -0800)
5a/2f1836d413ad188df487820fa3e65b4afc9f8a [new file with mode: 0644]

diff --git a/5a/2f1836d413ad188df487820fa3e65b4afc9f8a b/5a/2f1836d413ad188df487820fa3e65b4afc9f8a
new file mode 100644 (file)
index 0000000..3852177
--- /dev/null
@@ -0,0 +1,82 @@
+Return-Path: <perttu.luukko@iki.fi>\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 257BF431FBF\r
+       for <notmuch@notmuchmail.org>; Sun, 31 Aug 2014 23:41:30 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\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 P+q9ZgwUiIYW for <notmuch@notmuchmail.org>;\r
+       Sun, 31 Aug 2014 23:41:21 -0700 (PDT)\r
+Received: from mail.kapsi.fi (mail.kapsi.fi [217.30.184.167])\r
+       (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 04E95431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 31 Aug 2014 23:41:20 -0700 (PDT)\r
+Received: from lakka.kapsi.fi ([2001:1bc8:1004::1] ident=Debian-exim)\r
+       by mail.kapsi.fi with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)\r
+       (Exim 4.72) (envelope-from <perttu.luukko@iki.fi>)\r
+       id 1XOLIY-0007zq-LS; Mon, 01 Sep 2014 09:41:06 +0300\r
+Received: from nuteater by lakka.kapsi.fi with local (Exim 4.80)\r
+       (envelope-from <perttu.luukko@iki.fi>)\r
+       id 1XOLIY-0003gS-FW; Mon, 01 Sep 2014 09:41:06 +0300\r
+Date: Mon, 1 Sep 2014 09:41:06 +0300\r
+From: Perttu Luukko <perttu.luukko@iki.fi>\r
+To: David Bremner <david@tethera.net>\r
+Subject: Re: How to debug 'ignoring non-mail file' issues\r
+Message-ID: <20140901064106.GA3901@lakka.kapsi.fi>\r
+References: <20140831074059.GA13399@rakuuna.dhcp.inet.fi>\r
+       <87oav0sj3f.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <87oav0sj3f.fsf@maritornes.cs.unb.ca>\r
+User-Agent: Mutt/1.5.22.1 (2013-10-16)\r
+X-SA-Exim-Connect-IP: 2001:1bc8:1004::1\r
+X-SA-Exim-Mail-From: perttu.luukko@iki.fi\r
+X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false\r
+Cc: 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, 01 Sep 2014 06:41:30 -0000\r
+\r
+On 2014-08-31 09:46:12, David Bremner wrote:\r
+> Perttu Luukko <perttu.luukko@iki.fi> writes:\r
+> \r
+> > I understand that the list of non-mail files is stored in the\r
+> > notmuch database and the files are completely ignored from there on.\r
+> > This actually makes it harder to debug these kind of issues since\r
+> > the list of ignored mails is only visible on the first invocation of\r
+> > 'notmuch new', unless the files are moved around. Is there some way\r
+> > to extract the list of ignored files from the database for\r
+> > inspection? Maybe 'notmuch new' could have some kind of\r
+> > --unignore-non-mail switch that would reconsider previously ignored\r
+> > files.\r
+> \r
+> I _think_ it should suffice to do something like\r
+> \r
+>    find Maildir -type d -exec touch {} \;\r
+> \r
+> to force a rescan\r
+\r
+Yes, that indeed works. I'll probably move these ignored files to a\r
+separate folder for inspection.\r
+\r
+-- \r
+Perttu\r