[PATCH] lib: Save filenames for files detected as "not an email file" in the database.

Tomi Ollila tomi.ollila at iki.fi
Sat Jan 21 01:48:32 PST 2012


On Fri, 20 Jan 2012 17:00:27 -0500, Austin Clements <amdragon at MIT.EDU> wrote:
> Later runs of "notmuch new" won't scan these files again and won't
> print warnings.
> 
> Various programs (Dovecot, in my case) store indexes and caches and
> such in the maildir.  Without this, notmuch persistently complains
> about such files.
> ---

LGTM...

> Every time I run notmuch new I get a slew of these warnings.  It was
> starting to get on my nerves, so I implemented the solution suggested
> by the TODO file.

[ ... ]

> -large so the detection could be potentially slow). 2. A "notmuch
> -search" syntax could be added to allow the user to find these files,
> -(and perhaps delete them or move them away as appropriate).
> +Add a "notmuch search" syntax to allow uses to find files recorded as
> +non-emails in the database (and perhaps delete them or move them away
> +as appropriate).

Could these messages be tagged with some fixed tag -- we already have
'signed' and 'attachment' tag. maybe 'nonemail' (or something) could
be used for these messages ?

Tomi


More information about the notmuch mailing list