unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Ciprian Craciun <ciprian.craciun@gmail.com>, notmuch@notmuchmail.org
Subject: Re: For some reason `index.header` feature doesn't quite work for anything except `List-Id`
Date: Thu, 07 Jan 2021 10:07:42 -0400	[thread overview]
Message-ID: <87zh1ku9g1.fsf@tethera.net> (raw)
In-Reply-To: <CA+Tk8fzisSRA2SmbzTOWCVCUYfDrnP2LhUFnrwP-6URcYCMchw@mail.gmail.com>

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.

      reply	other threads:[~2021-01-07 14:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=87zh1ku9g1.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=ciprian.craciun@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /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).