weird paths in notmuch database

Subject: weird paths in notmuch database

Date: Fri, 6 Nov 2015 11:57:03 +0100

To: notmuch@notmuchmail.org

Cc:

From: Davide Mancusi


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

Note that my mail folder is /export/home/username/mail. The first path
does not exist. However, I have a symlink from /home/username/local to
/export/home/username. Could that be the problem?

Also, is there a way to get rid of these non-existent paths in the
database? They are fed to another program in a script and it chokes on
them.

Thanks in advance for your help.

Cheers,
Davide

Thread: