Re: weird paths in notmuch database

Subject: Re: weird paths in notmuch database

Date: Fri, 06 Nov 2015 07:09:44 -0600

To: Davide Mancusi, notmuch@notmuchmail.org

Cc:

From: David Bremner


Davide Mancusi <arekfu@yahoo.it> writes:

> Hi all,
>
> I have noticed that notmuch ends up with non-existing paths to some
> messages. For instance:
>
> $ notmuch search --output=files 'path:/home/**'
> /export/home/username/mail//home/username/local/mail/archive/cur/1446805732.2711_9.hostname:2,S
> /export/home/username/mail/archive/cur/1446805732.2711_9.hostname:2,S
> [...] # more follow
>

I'm not sure if there are really bad paths in the database, or notmuch
is just handling illegal search syntax badly. To quote
notmuch-search-terms(7):

   The directory must be specified relative to the top-level maildir
   (and without the leading slash).

Please try with correct search syntax in order to narrow down the
problem.



Thread: