Re: How to debug 'ignoring non-mail file' issues

Subject: Re: How to debug 'ignoring non-mail file' issues

Date: Sun, 31 Aug 2014 09:46:12 -0700

To: Perttu Luukko, notmuch@notmuchmail.org

Cc:

From: David Bremner


Perttu Luukko <perttu.luukko@iki.fi> 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


Thread: