weird paths in notmuch database

2015-11-06 Thread 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.271

Re: weird paths in notmuch database

2015-11-06 Thread Davide Mancusi
2015-11-06 14:09 GMT+01:00 David Bremner : >> $ 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 [...] > >The directory must b

Re: weird paths in notmuch database

2015-11-06 Thread Davide Mancusi
2015-11-06 16:14 GMT+01:00 Tomi Ollila : > How is the symlink exactly shown in ls -l /path/to/symlink output ? $ ls -l /home/username/local lrwxrwxrwx 1 username group 21 Jan 23 2015 /home/username/local -> /export/home/username ___ notmuch mailing li

Re: weird paths in notmuch database

2015-11-06 Thread Davide Mancusi
2015-11-06 16:24 GMT+01:00 Tomi Ollila : > And notmuch config get database.path prints /export/home/username/mail > I presume ? Correct. > If that is the case then this symlink should have no effect. > > Is there any symlinks inside /export/home/username/mail > ( find /export/home/username/mail -

Re: weird paths in notmuch database

2015-11-06 Thread Davide Mancusi
2015-11-06 16:34 GMT+01:00 Tomi Ollila : > Ah, so path > /export/home/username/mail//home/username/local/mail/archive/cur/1446805732.2711_9.hostname:2,S > > does not exist? It probably used to be (?) (via some long-gone symlink?) > and now it is just garbage in the database (that does not go away)

Re: weird paths in notmuch database

2015-11-12 Thread Davide Mancusi
2015-11-06 16:37 GMT+01:00 Davide Mancusi : > 2015-11-06 16:34 GMT+01:00 Tomi Ollila : >> Ah, so path >> /export/home/username/mail//home/username/local/mail/archive/cur/1446805732.2711_9.hostname:2,S >> >> does not exist? It probably used to be (?) (via some long-gone