From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +DIEDWENRGRZ1gAASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 18:37:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uCobDGENRGRxZwAAG6o9tA (envelope-from ) for ; Sat, 22 Apr 2023 18:37:53 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 D5F7929318 for ; Sat, 22 Apr 2023 18:37:51 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 34AB35F36E; Sat, 22 Apr 2023 16:37:47 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 8CEEF5F365 for ; Sat, 22 Apr 2023 16:37:43 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 903135FB95; Sat, 22 Apr 2023 12:37:42 -0400 (EDT) Received: (nullmailer pid 188222 invoked by uid 1000); Sat, 22 Apr 2023 16:37:41 -0000 From: David Bremner To: Al Haji-Ali , notmuch@notmuchmail.org Subject: Re: Correcting message references In-Reply-To: References: <874jp85g26.fsf@minkowski.home> Date: Sat, 22 Apr 2023 13:37:41 -0300 Message-ID: <87o7nf50ve.fsf@minkowski.home> MIME-Version: 1.0 Message-ID-Hash: QPGVOFKMGGC6D43P75S67HXM66PRF76Q X-Message-ID-Hash: QPGVOFKMGGC6D43P75S67HXM66PRF76Q X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682181473; a=rsa-sha256; cv=none; b=Iv/uNRv5K3lpvyOP/ToKpD00Y6NXoqyDNtkjZxxk2JJDXa0YXzx9QPMlA48mLZQUwSUQda VuUiHDtxOBHsFsXQUHcxyfD8UlmqQL+YIjt1Yr6tC0eeBoDFPcg5bcu0H9LF76aIA7874Y CfQywePAKLwxGwVEREQ6Ft8fllCNhgBCkK3rnqKaZy8CpYqmymw0Dmp/bLss46PTSi3OEp 5T5Zmhdr8yb43zMunI85zp2zVPrBlJcJdn0K/RvgNZURRldENeClDntBirxKPugzeV8tfE FKG9y+CyvdCX6pqCBShXMZz+QZmDpHefOJee5emV4JtU0snMEYsNhwTq+QO5GA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682181473; h=from:from: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=TiHW+0OVUqeb6f6FX/uaeqmSyuX+ecAhr1cNWoPLE7Y=; b=BR+dKl8UEZFFMjO+BQEI/NCYQbiJiEYjM5NQgZwCUnASjPwKao7K83ov7IVFj0QEPWprJb ckGYvggDbMCLLg0ePR27CEZFOLqrC6D2uTvr+Zk9fTbEjiYy/z4JtyjeKGESBKqMdJWuby JuDL+bwtU9N/FoDnJjAysniU5Vc0k9VVtgfEtsmIceH+OQc/HwVj6QNxgArfgYNCv7Mcuo vCosgXfvf8aPCarfS86Z8sHvCuX+xF1vAMSeGyNn0otJCMIM1wrqW4zTwG+aFdelbCsDZZ iWBJyZvzBodURAhNKVcIxrP7FjKRzMqOSmGOxvRFlGvBC9VB7oa4TyclM4rKbw== X-Migadu-Spam-Score: -1.71 X-Spam-Score: -1.71 X-Migadu-Queue-Id: D5F7929318 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-TUID: QPlDnhz5lcHu Al Haji-Ali writes: > is completely unconnected the other 4 messages in the thread. Note > that if I change the "In-Reply-To" field in this message to anything > else, notmuch no longer groups these 5 messages into a single thread. > Yes, that's puzzling. I did not think about "ghost messages" (see below) when writing that script, so maybe that's the issue. > I tried searching for "jwvczk7opm8.fsf-monnier+emacs@gnu.org" using `xapian-delve` but got > > ,---- > | term 'jwvczk7opm8.fsf-monnier+emacs@gnu.org' not in database > `---- You need to give the appropriate term prefix. Q for message id, or XREPLYTO or XREFERENCE as in my last message. > The first one is the draft. The second hit is the reason I thought the > only place left for notmuch to associate these messages is in the > xapian database. Note that if I delete the draft and reindex, only the > postlist.glass hit stubbornly remains and there seems to be no way to > make notmuch forget about this ID. As long as some message refers to that ID, notmuch will create a "ghost message", used for threading.