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 596156DE112B for ; Sat, 12 Aug 2017 09:35:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.016 X-Spam-Level: X-Spam-Status: No, score=0.016 tagged_above=-999 required=5 tests=[AWL=-0.004, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=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 ozhyOq0CMSUj for ; Sat, 12 Aug 2017 09:35:46 -0700 (PDT) Received: from joergvolbers.de (servant.hier-ja.de [176.9.104.74]) by arlo.cworth.org (Postfix) with ESMTPS id 192D06DE1117 for ; Sat, 12 Aug 2017 09:35:45 -0700 (PDT) Received: from localhost (unknown [91.114.71.138]) by servant.hier-ja.de (Postfix) with ESMTPSA id A7F1838002FE for ; Sat, 12 Aug 2017 18:35:41 +0200 (CEST) From: =?utf-8?Q?J=C3=B6rg?= Volbers To: notmuch@notmuchmail.org Subject: Re: notmuch search does not work with search term 'id:' In-Reply-To: <87fucxri68.fsf@tethera.net> References: <878tiqbgc9.fsf@joergvolbers.de> <8760dubdyr.fsf@joergvolbers.de> <87fucxri68.fsf@tethera.net> Date: Sat, 12 Aug 2017 18:35:34 +0200 Message-ID: <874ltc4ucp.fsf@joergvolbers.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: Sat, 12 Aug 2017 16:35:47 -0000 --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable That was helpful! The output is: Query(((Tmail AND 0 *=20 QE5-a1wt6bgr-elaine/2/42589-dc960dd3@nlsender05.ui-portal.com)=20 AND_NOT (Kdeleted OR Kspam))) Actually my config has "search.exclude_tags=3Ddeleted;spam" set, and=20 the mail IS a spam mail. (I wanted to train bogofilter). Did not know that such an exclusion occurs. Makes sense, though. Adding --exclude=3Dfalse to the search makes it behave well. Thanks for the help! David Bremner writes: > J=C3=B6rg Volbers writes:=20 >=20=20 >> This is the ID which I am using for testing:=20 >>=20 >> E5-a1wt6bgr-elaine/2/42589-dc960dd3@nlsender05.ui-portal.com=20 >>=20 > Can you try=20 >=20 > NOTMUCH_DEBUG_QUERY=3Dy notmuch search=20 > id:E5-a1wt6bgr-elaine/2/42589-dc960dd3@nlsender05.ui-portal.com=20 >=20 > and report the output after "Final query is:"=20 >=20 > d=20 =2D-=20 http://www.joergvolbers.de https://fu-berlin.academia.edu/jvolbers --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl+pESABvZMX7vTCiGIMO9HG46IYFAlmPLlYACgkQGIMO9HG4 6IbPbwgAgygmOA/LthEtto5TbWTtZhqm/sAwPtElKhl2K1+oR0FuuYc1+5lrp/Ok bB/RO7CaViIjr/n6ugYqeHU5931P9rS3cky9+Q4BCLyl6faNI0Q8HST5vvKueCnI YvDjL90KcD0X2IETPWg/YoykEQISAs8uo6GyRscVAxq4zDrL37bj8WAhSeiQrw/b baHaQhtPqYhFiEjImbsH2RqK/lLQ8I/N/y6el16bx+qTObvpbF6vjdEgblyhU/an 0YmILRiuaR9m4qjXl/AL06/pZh8lestWVByLp2iz7UWRQyRkNqxoA4KaPftRSyr7 BHsVtOTnOmBFrDx9Spr4NEz5zdpL7A== =yvSf -----END PGP SIGNATURE----- --=-=-=--