From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 195C6431FBD for ; Sun, 31 Aug 2014 09:46:31 -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 AZhrhNxy8pZ4 for ; Sun, 31 Aug 2014 09:46:21 -0700 (PDT) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 4F82E431FAE for ; Sun, 31 Aug 2014 09:46:21 -0700 (PDT) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1XO8Ge-0001Vc-Pu; Sun, 31 Aug 2014 13:46:16 -0300 Received: (nullmailer pid 19200 invoked by uid 1000); Sun, 31 Aug 2014 16:46:12 -0000 From: David Bremner To: Perttu Luukko , notmuch@notmuchmail.org Subject: Re: How to debug 'ignoring non-mail file' issues In-Reply-To: <20140831074059.GA13399@rakuuna.dhcp.inet.fi> References: <20140831074059.GA13399@rakuuna.dhcp.inet.fi> User-Agent: Notmuch/0.18.1+72~g028c560 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Sun, 31 Aug 2014 09:46:12 -0700 Message-ID: <87oav0sj3f.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain 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: Sun, 31 Aug 2014 16:46:31 -0000 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 d