unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* For some reason `index.header` feature doesn't quite work for anything except `List-Id`
@ 2021-01-07  2:41 Ciprian Craciun
  2021-01-07 14:07 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: Ciprian Craciun @ 2021-01-07  2:41 UTC (permalink / raw)
  To: notmuch

Hello all!

I've tried to configure the following in my `notmuch.conf`:
~~~~
[index]
header.List=List-Id
header.Authentication=Authentication-Results
~~~~

Although most of my emails do have the `Authentication-Results` when I issue:
~~~~
notmuch count Authentication:
notmuch count Authentication:\"spf=pass\"
~~~~

I do get some emails counted, but very few compared to the size of the
entire dataset.

I've even tried to show (as mbox) those emails that `not Authentication:`.

Am I missing something?
(BTW, I'm using notmuch 0.31.3)

Thanks,
Ciprian.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: For some reason `index.header` feature doesn't quite work for anything except `List-Id`
  2021-01-07  2:41 For some reason `index.header` feature doesn't quite work for anything except `List-Id` Ciprian Craciun
@ 2021-01-07 14:07 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2021-01-07 14:07 UTC (permalink / raw)
  To: Ciprian Craciun, notmuch

Ciprian Craciun <ciprian.craciun@gmail.com> writes:

> Hello all!
>
> I've tried to configure the following in my `notmuch.conf`:
> ~~~~
> [index]
> header.List=List-Id
> header.Authentication=Authentication-Results
> ~~~~

You (currently) need to use "notmuch config set" for these configuration items.


> Although most of my emails do have the `Authentication-Results` when I issue:
> ~~~~
> notmuch count Authentication:
> notmuch count Authentication:\"spf=pass\"
> ~~~~

If that doesn't work, I guess the first step to run your commands with NOTMUCH_DEBUG_QUERY=t
in the environment, and see what the Xapian queries look like.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-07 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07  2:41 For some reason `index.header` feature doesn't quite work for anything except `List-Id` Ciprian Craciun
2021-01-07 14:07 ` David Bremner

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).