From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gO3AK7bkA2EeZAEAgWs5BA (envelope-from ) for ; Fri, 30 Jul 2021 13:38:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cDhJJ7bkA2H1ewAAbx9fmQ (envelope-from ) for ; Fri, 30 Jul 2021 11:38:30 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A16AF670 for ; Fri, 30 Jul 2021 13:38:30 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 0DFCF291AF; Fri, 30 Jul 2021 07:38:27 -0400 (EDT) X-Greylist: delayed 359 seconds by postgrey-1.36 at nmbug; Fri, 25 Sep 2020 09:00:31 EDT Received: from mail-41103.protonmail.ch (mail-41103.protonmail.ch [185.70.41.103]) by mail.notmuchmail.org (Postfix) with ESMTPS id AC38E2931B for ; Fri, 25 Sep 2020 09:00:31 -0400 (EDT) Received: from mail-03.mail-europe.com (mail-03.mail-europe.com [91.134.188.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-41103.protonmail.ch (Postfix) with ESMTPS id C40232005BAB for ; Fri, 25 Sep 2020 12:54:30 +0000 (UTC) Date: Fri, 25 Sep 2020 12:54:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1601038465; bh=iKg6IMLKmdS2k/n+qVpuUqNmKB0Zl2dmRsUQt78lIz4=; h=Date:To:From:Reply-To:Subject:From; b=GKmmEFuQTIBi8gCaxcY3js01GwSG4ndiSHJJNEtRJy9OshHqvXJCtokZjAwsLV5tX OLjK1FvNbulh2EzvVeAyrdZOSxj+nLpe1BXO+vx5S8ElV0W73SO/t0EGARUDYaE6Xq qoQ455g1Gn6JjtPRZv5lUjMgjfci5DDwflTAA+po= To: notmuch@notmuchmail.org From: Valentin Kuznetsov Subject: bug report Message-ID: <20200925125418.oup5gua3tzskgsgp@vkair> MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-MailFrom: vkuznet@protonmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 Message-ID-Hash: ASLAG3XNKZAEF5QSOIHGNAO4RQWPKC2V X-Message-ID-Hash: ASLAG3XNKZAEF5QSOIHGNAO4RQWPKC2V X-Mailman-Approved-At: Fri, 30 Jul 2021 11:38:25 -0400 X-Mailman-Version: 3.2.1 Precedence: list Reply-To: Valentin Kuznetsov List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627645110; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lFvYYjd6QnWf+n+5Bthkb4OP1jcX62C3SHsZSboVpcc=; b=oQNk2bjuqdk+GWvg61AoH1ybz6agt5yL4G6tr/V72icx6qjTZ6UGr8Eg+fIFz8OtMvHGdT 5wZQw5TNKjDLm3pXiXsOYOifkoO7rus096Wqqa/L3uOb2AAOrPdYZfEeJB+dC3xrLhGfq+ js2o3+4UzwCHmZHmXN3WbOXJ8wCItt+bOwYQlKE9tNihnwZ3us7iJSMhTvzEwPbCGH57+Z 2ZL15LSc6oYkQLrdvkZisV33Pr2S6Qp9XGSHj+KD8N95/WYj0Z+Mv052an2e2fmNfaDlSL sT+Z4tuvjqtr+qOAwxz+bqBkUqnu+9+uyzPL8Fq1ngbtM/P8cG46JnUs5sHfkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627645110; a=rsa-sha256; cv=none; b=pTyJnmIQitUqOcUFDfScSLwjm5Cj83ph3JSxLQuRBaSlBa9pxe5lRnxziILrCeieJK9ILF DB1WeSr01fXSNySMS3NW7XvC3slFCSZP656jMgla+i21jdGMo7fjD308uc6nhpfGM7+sgt z/CvS7f6SRek3nZ4y8IATlIIskJDv0QDDjb1WTsSN0PfrEhPrDmFFTg28VfcSIH+FO7EmO MI8asxpA4COpSmWDuKFyqbunY2MDI9zWhZ0z6A3IbVRy4OZwpVLdiJLhqCPekD2eHwut0p Iqm/PDP9OtAyCggkGH768FdZZKSUUu9lxHR888fQXsFf5LSq4rtMPBrJFyMUfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=protonmail.com header.s=protonmail header.b=GKmmEFuQ; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 6.00 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=protonmail.com header.s=protonmail header.b=GKmmEFuQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=protonmail.com (policy=quarantine); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 4A16AF670 X-Spam-Score: 6.00 X-Migadu-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-TUID: TxVrWxeoL6Pb Hi, I'm new to notmuch system, but I used the tool for quite some time which is integrated with my mutt setup. I found that the following query does not return any results notmuch search CSBS-D-20-00016 while if I do this query notmuch search CSBS-D-20-00015 I see my results. I provide debug output for both queries below. And in both cases I have emails which contains these patterns in their subject fields. The only difference I see is that the last digit is different. I can find those emails easily with find/grep/etc. tools. Could you please guide me how to resolve this? Thanks Valentin. shell> notmuch search CSBS-D-20-00016 Query string is: CSBS-D-20-00016 Exclude query is: Query((Kdeleted OR Kspam)) Final query is: Query(((Tmail AND ((csbs@1 PHRASE 4 d@2 PHRASE 4 20@3 PHRASE 4 00016@4) OR (Gcsbs@1 PHRASE 4 Gd@2 PHRASE 4 G20@3 PHRASE 4 G00016@4) OR (Kcsbs@1 PHRASE 4 Kd@2 PHRASE 4 K20@3 PHRASE 4 K00016@4) OR (Kcsbs@1 PHRASE 4 Kd@2 PHRASE 4 K20@3 PHRASE 4 K00016@4) OR (Qcsbs@1 PHRASE 4 Qd@2 PHRASE 4 Q20@3 PHRASE 4 Q00016@4) OR (Qcsbs@1 PHRASE 4 Qd@2 PHRASE 4 Q20@3 PHRASE 4 Q00016@4) OR (Pcsbs@1 PHRASE 4 Pd@2 PHRASE 4 P20@3 PHRASE 4 P00016@4) OR (XPROPERTYcsbs@1 PHRASE 4 XPROPERTYd@2 PHRASE 4 XPROPERTY20@3 PHRASE 4 XPROPERTY00016@4) OR (XFOLDER:csbs@1 PHRASE 4 XFOLDER:d@2 PHRASE 4 XFOLDER:20@3 PHRASE 4 XFOLDER:00016@4) OR (XFROMcsbs@1 PHRASE 4 XFROMd@2 PHRASE 4 XFROM20@3 PHRASE 4 XFROM00016@4) OR (XTOcsbs@1 PHRASE 4 XTOd@2 PHRASE 4 XTO20@3 PHRASE 4 XTO00016@4) OR (XATTACHMENTcsbs@1 PHRASE 4 XATTACHMENTd@2 PHRASE 4 XATTACHMENT20@3 PHRASE 4 XATTACHMENT00016@4) OR (XMIMETYPEcsbs@1 PHRASE 4 XMIMETYPEd@2 PHRASE 4 XMIMETYPE20@3 PHRASE 4 XMIMETYPE00016@4) OR (XSUBJECTcsbs@1 PHRASE 4 XSUBJECTd@2 PHRASE 4 X SUBJECT20@3 PHRASE 4 XSUBJECT00016@4))) AND_NOT (Kdeleted OR Kspam))) shell> notmuch search CSBS-D-20-00015 Query string is: CSBS-D-20-00015 Exclude query is: Query((Kdeleted OR Kspam)) Final query is: Query(((Tmail AND ((csbs@1 PHRASE 4 d@2 PHRASE 4 20@3 PHRASE 4 00015@4) OR (Gcsbs@1 PHRASE 4 Gd@2 PHRASE 4 G20@3 PHRASE 4 G00015@4) OR (Kcsbs@1 PHRASE 4 Kd@2 PHRASE 4 K20@3 PHRASE 4 K00015@4) OR (Kcsbs@1 PHRASE 4 Kd@2 PHRASE 4 K20@3 PHRASE 4 K00015@4) OR (Qcsbs@1 PHRASE 4 Qd@2 PHRASE 4 Q20@3 PHRASE 4 Q00015@4) OR (Qcsbs@1 PHRASE 4 Qd@2 PHRASE 4 Q20@3 PHRASE 4 Q00015@4) OR (Pcsbs@1 PHRASE 4 Pd@2 PHRASE 4 P20@3 PHRASE 4 P00015@4) OR (XPROPERTYcsbs@1 PHRASE 4 XPROPERTYd@2 PHRASE 4 XPROPERTY20@3 PHRASE 4 XPROPERTY00015@4) OR (XFOLDER:csbs@1 PHRASE 4 XFOLDER:d@2 PHRASE 4 XFOLDER:20@3 PHRASE 4 XFOLDER:00015@4) OR (XFROMcsbs@1 PHRASE 4 XFROMd@2 PHRASE 4 XFROM20@3 PHRASE 4 XFROM00015@4) OR (XTOcsbs@1 PHRASE 4 XTOd@2 PHRASE 4 XTO20@3 PHRASE 4 XTO00015@4) OR (XATTACHMENTcsbs@1 PHRASE 4 XATTACHMENTd@2 PHRASE 4 XATTACHMENT20@3 PHRASE 4 XATTACHMENT00015@4) OR (XMIMETYPEcsbs@1 PHRASE 4 XMIMETYPEd@2 PHRASE 4 XMIMETYPE20@3 PHRASE 4 XMIMETYPE00015@4) OR (XSUBJECTcsbs@1 PHRASE 4 XSUBJECTd@2 PHRASE 4 X SUBJECT20@3 PHRASE 4 XSUBJECT00015@4))) AND_NOT (Kdeleted OR Kspam))) Query string is: thread:000000000002e0e2 Exclude query is: Query() Final query is: Query((Tmail AND 0 * G000000000002e0e2)) thread:000000000002e0e2 July 07 [2/2] Federica Legger, Valentin Kuznetsov; Fwd: CSBS-D-20-00015 - Ad Hoc from Author to Editorial Office (inbox replied) Query string is: thread:000000000002e0d7 Exclude query is: Query() Final query is: Query((Tmail AND 0 * G000000000002e0d7)) thread:000000000002e0d7 July 07 [2/2] Federica Legger, Valentin Kuznetsov; Fwd: Submission Confirmation (inbox replied) Query string is: thread:000000000002e0cf Exclude query is: Query() Final query is: Query((Tmail AND 0 * G000000000002e0cf)) thread:000000000002e0cf July 07 [1/1] Federica Legger; CSBS-D-20-00015 - Ad Hoc from Author to Editorial Office (inbox)