From: Jean-Francois Moulin <jean-francois.moulin@hzg.de>
To: notmuch@notmuchmail.org
Subject: Re: search misses some targets
Date: Mon, 2 Oct 2017 21:33:49 +0200 [thread overview]
Message-ID: <55dd469f-585e-e5e5-6b09-a3f096205262@hzg.de> (raw)
In-Reply-To: <87a81d3fi0.fsf@tethera.net>
[-- Attachment #1.1: Type: text/plain, Size: 2775 bytes --]
On 09/29/2017 01:34 PM, David Bremner wrote:
> Jean-Francois Moulin <jean-francois.moulin@hzg.de> writes:
>
>> Hi!
>>
>> Sorry for not providing enough info to start with.
>>
>> I have pasted a header below (slightly modified for privacy).
>> I wanted to find all mails coming from the sender of this one.
>> I used "search from:Doe" and search "from:doe" and got only 3/4 of the expected hits (I
>> checked with Thunderbird). I then tried "search Doe" and "search doe",
>> this message was not found either. Using mutt when I applied a "limit Doe" or "limit doe",
>> the message was found.
>>
>> Thanks for having a look!
>>
> I made an email message from these headers and was able to find it fine
> with all of the 'notmuch search' variations you mentioned. If you can
> duplicate the problem with a public message that you can send verbatim
> that might help. The usual cause of such problems is exclude tags, but
> I see from your first message that you don't have any configured.
> Another potential source of difficulties is duplicate message-ids. You
> could test for the latter with
> notmuch search id:OF39AEF41D.39304F6A-ONC12580B2.005407CD-C12580B2.005AB287@LocalDomain
Hi,
sorry for the delay.
notmuch search
id:OF39AEF41D.39304F6A-ONC12580B2.005407CD-C12580B2.005AB287@LocalDomain
returns nothing.
Looking for examples I could share, I searched for Spam Quarantaine
notifications **using notmuch-mutt**
(The binding I use for the search in mutt is the following (copied
from https://notmuchmail.org/notmuch-mutt/)
macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p
'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i
\"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head
-n 600 | perl -le '@a=<>;chomp@a;s/\^id://
for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a
notmuch pattern")
The notmuch search did not find any message!
This same macro executed with "Spam" as argument finds a few messages
containing the word spam but none having it in the from field
Repeating the searches with plain notmuch from the command line found
all of the messages!
So it is probable that my mutt configuration somehow has a problem. Once
this is fixed I'll search again for thoses cases where some messages are
found but not all of them.
Any tip appreciated of course but I guess this is probably no longer the
right place to ask!
JF
--
Dr. Jean-François Moulin
German Engineering Materials Science Centre (GEMS)
at Heinz Maier-Leibnitz Zentrum (MLZ)
Helmholtz-Zentrum Geesthacht GmbH
Lichtenbergstr. 1, 85747 Garching bei München, Germany
phone: +49-89-289-10762; email: jean-francois.moulin@hzg.de
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2017-10-02 19:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 17:17 search misses some targets Jean-Francois Moulin
2017-09-27 22:46 ` David Bremner
2017-09-28 19:02 ` Jean-Francois Moulin
2017-09-29 11:34 ` David Bremner
2017-10-02 19:33 ` Jean-Francois Moulin [this message]
2017-10-05 11:34 ` David Bremner
2017-10-05 19:31 ` Stefano Zacchiroli
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=55dd469f-585e-e5e5-6b09-a3f096205262@hzg.de \
--to=jean-francois.moulin@hzg.de \
--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).