Can't get notmuch to find mail
Michal Sojka
sojkam1 at fel.cvut.cz
Thu Aug 12 07:40:02 PDT 2010
On Thu, 05 Aug 2010, Stephen Paul Weber wrote:
> I've installed notmuch, run the setup to point it at the maildir of my Gmail
> "All Mail" folder, and run notmuch new. It says it found 32981 file, but no
> new mail... what? Then when I run searches, none of them return results.
>
> Help?
That's really strange. Could you check the database with delve tool
(a part of Xapian), whether you can get similar output as me?
If I run the following command, I get the list of document numbers
(messages) written by me:
$ delve -t XFROMsojkam1 ~/mail/.notmuch/xapian
Posting List for term `XFROMsojkam1' (termfreq 8229, collfreq 8276,
wdf_max 8276): 525 526 527 528 529 530 531 1178 1183 4593 4632 5290 5844
5972 5974 5975 5982 5988 6000 6003 6008 6015 6016 6017 6018 6070 6085
6086 6087 6088 6089 6104 6106 6150 6153 6175 6177 6178 6188 6199 6200
6202 6204 6247 6249 6262 6352 6353 6354 6355 6366 6371 6383 6384 6385
6394 6397 6398 6399 6416 6426 6432 6434...
Then, I can look at what Xapian knows about the document 525:
$ delve -V -r 525 ~/mail/.notmuch/xapian
Values for record #525: 0:�\nT� 1:46E0554F.7060608 at fel.cvut.cz
Term List for record #525: 000000 1 154 2004 2100 4.01 5_deshpande
802.11 G00000000000001fa Q46E0554F.7060608 at fel.cvut.cz Tmail
XFDIRENTRY524:1265611852_0.11574.steelpick,U=64,FMD5=db3af42ba64b595db6ab3ea999fe0bb1:2,S
XFROMcvut XFROMcz XFROMfel XFROMmichal...
Can you see the messages in the database or not?
-Michal
More information about the notmuch
mailing list