unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Michal Sojka <sojkam1@fel.cvut.cz>
To: Stephen Paul Weber <singpolyma@singpolyma.net>, notmuch@notmuchmail.org
Subject: Re: Can't get notmuch to find mail
Date: Thu, 12 Aug 2010 16:40:02 +0200	[thread overview]
Message-ID: <87r5i3gail.fsf@steelpick.2x.cz> (raw)
In-Reply-To: <20100805175511.GA1494@singpolyma-svelti>

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@fel.cvut.cz
Term List for record #525: 000000 1 154 2004 2100 4.01 5_deshpande
802.11 G00000000000001fa Q46E0554F.7060608@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

  parent reply	other threads:[~2010-08-12 14:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-05 17:55 Can't get notmuch to find mail Stephen Paul Weber
2010-08-11 13:07 ` Bryan Hunt
2010-08-12 14:40 ` Michal Sojka [this message]
2010-08-12 14:54   ` Stephen Paul Weber
2010-08-12 15:26     ` Michal Sojka
     [not found]       ` <20100812153324.GB1531@singpolyma-svelti>
2010-08-12 21:16         ` Michal Sojka
2010-08-12 21:29           ` Stephen Paul Weber
2010-08-12 22:46             ` Michael Hudson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5i3gail.fsf@steelpick.2x.cz \
    --to=sojkam1@fel.cvut.cz \
    --cc=notmuch@notmuchmail.org \
    --cc=singpolyma@singpolyma.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).