How to debug 'ignoring non-mail file' issues
Perttu Luukko
perttu.luukko at iki.fi
Sun Aug 31 23:41:06 PDT 2014
On 2014-08-31 09:46:12, David Bremner wrote:
> Perttu Luukko <perttu.luukko at 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
Yes, that indeed works. I'll probably move these ignored files to a
separate folder for inspection.
--
Perttu
More information about the notmuch
mailing list