search misses some targets
Jean-Francois Moulin
jean-francois.moulin at hzg.de
Mon Oct 2 12:33:49 PDT 2017
On 09/29/2017 01:34 PM, David Bremner wrote:
> Jean-Francois Moulin <jean-francois.moulin at 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 at LocalDomain
Hi,
sorry for the delay.
notmuch search
id:OF39AEF41D.39304F6A-ONC12580B2.005407CD-C12580B2.005AB287 at 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 at a;s/\^id://
for at a;$,=\"|\";print at 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 at hzg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20171002/90f58414/attachment.sig>
More information about the notmuch
mailing list