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