From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 0C65A6DE0B14 for ; Mon, 2 Oct 2017 12:34:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.305 X-Spam-Level: X-Spam-Status: No, score=-2.305 tagged_above=-999 required=5 tests=[AWL=0.005, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GRsphmD0MRF1 for ; Mon, 2 Oct 2017 12:34:03 -0700 (PDT) Received: from Iron1.hzg.de (iron1.hzg.de [141.4.217.10]) by arlo.cworth.org (Postfix) with ESMTPS id 30B136DE0A89 for ; Mon, 2 Oct 2017 12:34:02 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.42,470,1500933600"; d="asc'?scan'208";a="2542272" Received: from notes1.hzg.de (HELO webmail.hzg.de) ([141.4.1.230]) by Iron3.hzg.de with ESMTP; 02 Oct 2017 21:33:59 +0200 Received: from mailproxy.hzg.de ([141.4.217.228]) by webmail.hzg.de with ESMTP id 2017100221335879-181720 ; Mon, 2 Oct 2017 21:33:58 +0200 Received: from localhost ([127.0.0.1] helo=webmail.hzg.de) by mailproxy.hzg.de with esmtp (Exim 4.89) (envelope-from ) id 1dz6TW-0007yK-J0 for notmuch@notmuchmail.org; Mon, 02 Oct 2017 21:33:58 +0200 Subject: Re: search misses some targets To: notmuch@notmuchmail.org References: <20170927171721.dygyay34sdlpv4rp@jfmlap> <87h8vn4v68.fsf@tethera.net> <20170928190256.afoqwirzgduyplvc@jfmlap> <87a81d3fi0.fsf@tethera.net> From: Jean-Francois Moulin Message-ID: <55dd469f-585e-e5e5-6b09-a3f096205262@hzg.de> Date: Mon, 2 Oct 2017 21:33:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <87a81d3fi0.fsf@tethera.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFRD1XPtRgWxkVNjQj5W5XeKQUFrGnlht" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 19:34:05 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nFRD1XPtRgWxkVNjQj5W5XeKQUFrGnlht Content-Type: multipart/mixed; boundary="IiCrhHfnXCsJFOWTdg2qUT4G5Ki2BktKd"; protected-headers="v1" From: Jean-Francois Moulin To: notmuch@notmuchmail.org Message-ID: <55dd469f-585e-e5e5-6b09-a3f096205262@hzg.de> Subject: Re: search misses some targets References: <20170927171721.dygyay34sdlpv4rp@jfmlap> <87h8vn4v68.fsf@tethera.net> <20170928190256.afoqwirzgduyplvc@jfmlap> <87a81d3fi0.fsf@tethera.net> In-Reply-To: <87a81d3fi0.fsf@tethera.net> --IiCrhHfnXCsJFOWTdg2qUT4G5Ki2BktKd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: fr-xx-moderne On 09/29/2017 01:34 PM, David Bremner wrote: > Jean-Francois Moulin 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.005A= B287@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** =C2=A0=C2=A0=C2=A0 (The binding I use for the search in mutt is the follo= wing (copied from https://notmuchmail.org/notmuch-mutt/) macro index L "unset wait_keyread -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=3Dmessages \$(cat ~/.cache/mutt_terms) | head= -n 600 | perl -le '@a=3D<>;chomp@a;s/\^id:// for@a;$,=3D\"|\";print@a'\`\"" "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 --=20 Dr. Jean-Fran=C3=A7ois Moulin German Engineering Materials Science Centre (GEMS) at Heinz Maier-Leibnitz Zentrum (MLZ) Helmholtz-Zentrum Geesthacht GmbH Lichtenbergstr. 1, 85747 Garching bei M=C3=BCnchen, Germany phone: +49-89-289-10762; email: jean-francois.moulin@hzg.de --IiCrhHfnXCsJFOWTdg2qUT4G5Ki2BktKd-- --nFRD1XPtRgWxkVNjQj5W5XeKQUFrGnlht Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlnSlJ0ACgkQrkw4AhvOdEUm+wCfbKjJs20XMJHPpi3R6o5+7nrq TsAAoIGeU0vay/3qi4NIE3BcJFE42iCd =NEaQ -----END PGP SIGNATURE----- --nFRD1XPtRgWxkVNjQj5W5XeKQUFrGnlht--