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 AGqrJqmpQmT+AgAASxT56A (envelope-from ) for ; Fri, 21 Apr 2023 17:20:09 +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 yMNsJampQmRqQQEAG6o9tA (envelope-from ) for ; Fri, 21 Apr 2023 17:20:09 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 2258C28345 for ; Fri, 21 Apr 2023 17:20:09 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 2F6D95F808; Fri, 21 Apr 2023 15:20:06 +0000 (UTC) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by mail.notmuchmail.org (Postfix) with ESMTPS id D97DE5F41E for ; Fri, 21 Apr 2023 15:20:02 +0000 (UTC) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3f1957e80a2so14054865e9.1 for ; Fri, 21 Apr 2023 08:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682090402; x=1684682402; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Ej5LgjKkDrP8ZVNm5efyTCY8Mj+GtdZDj2OSUvQTyQM=; b=T8Hbt0W3tMy0RJYP0kdIwV7wHN29D1OYOpXWOoG2V80eDGnSJ6RW18YfHG3tQ7n1gR lnynoXJG20KJAcEBHeypiyW50g39XsYHE9KZqfCVAp8O2Oz8d24Ir5udk5jXey5hz6FN shwZ7uistTJUPAE1tfyOdKD/5C8eoBdtTlr0PMPyuEQacEOIpWlFjTei97iUrHmmLUZw 5ZJWLM2qsuqCvLs7C3ObXdwPwJYuaCU4wTVOLNSLCY1S5wVCcZCKvjEEZgAqN7477i50 t/kwbJAcyl9UiFJEhglX1puw5IxM2QwTqvFF+vV/8TE4fFG79c/WvMz2+S2eTNinGQQ3 e5RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682090402; x=1684682402; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ej5LgjKkDrP8ZVNm5efyTCY8Mj+GtdZDj2OSUvQTyQM=; b=kW58CQjSvCj0EUQ3vXRFZmhilH5xnlRxwTQNgVjRfoSOcLYu4eeXMqyqh9ts6Eu0Tw RrdeoziB1L81oUhRvSR63PoW4xraBk++MBGkdMYt3k2y/L6pcAYpyq3eyNiX8NYm/Mnr YfQMVKIVnu7yrrxezIftw7E96TcjmkZl4rcnSGfvT2LoEs06m0xBy1OfYsl5Nc0uc1T2 KDvM92tSHvVRuOUfEAzj6AjGehVR2fRHDv0xKpNyvMrYvFoekelmoMG1163ahUPpdXp9 o7uTqIiW8aCNHEnJuIQWB2lLFi2EM+KrWLebQ7O2PaUMeBTCvFOtrBlOq5u2EczFENu1 5u0Q== X-Gm-Message-State: AAQBX9dep45Qj87JoGUxyEQVoqwhtqWw42TbfgXwpXTgJIkX3QVxnfA0 /nKZtA76dkslyFAiyl8Fz6NTlzbuU6U= X-Google-Smtp-Source: AKy350Y0ybc79QAmwGW6Y1Hl3jF3/DcLnM9IBBjbQsqz9QwRqEyCq+ZcAztvNdJLEJwXeiiVwBj1QA== X-Received: by 2002:adf:f549:0:b0:2f6:4c9c:6b2a with SMTP id j9-20020adff549000000b002f64c9c6b2amr7967031wrp.0.1682090401311; Fri, 21 Apr 2023 08:20:01 -0700 (PDT) Received: from localhost ([137.195.27.22]) by smtp.gmail.com with ESMTPSA id g3-20020a5d5543000000b002fe254f6c33sm4582779wrw.92.2023.04.21.08.20.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 08:20:00 -0700 (PDT) From: Al Haji-Ali To: notmuch@notmuchmail.org Subject: Correcting message references Date: Fri, 21 Apr 2023 16:11:31 +0100 Message-ID: MIME-Version: 1.0 Message-ID-Hash: PUISSZ7MNHBQCRBATXTYE6KUPBOSMAHX X-Message-ID-Hash: PUISSZ7MNHBQCRBATXTYE6KUPBOSMAHX X-MailFrom: abdo.haji.ali@gmail.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 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=1682090409; a=rsa-sha256; cv=none; b=ZgmEy3zYLHbCkzzEFRLEhk54I/gQaUsdeIVeX8MkLe68hT1XWFnCznvl0TAQZ09KW50lO+ TYdY5b331lewoc7uw9L01O2VkZC9G3kz3OhfCUKZuJ5RQC8Hjw2Qap7leePWYgMonBkPFw pMH0+2axbeyA6n525LvPHOFpofYVMk1uUiPuiip1oD6xrGtobj81gBKWZiaZbgXcMhX7kR W9ab8vkWia3dKcvdoeBhQvYo2Ny+5XADfNblC7WJ9LF7y80wJxkP2mpz5zbf2BtpKypLlT bKT3l5F8DRZDlAs4WNv7xakkwH5y+wEpHW4UcZG9x9xzwh1F4HdYuWbkToFNrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=T8Hbt0W3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 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=1682090409; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=w89YnVd1m7wtEuqGnJ0WR12mXoLUKGM20p4ZMSy3s4E=; b=KtPReAfLD6cVUsb4nSgvhxBy4vi3K37sJfomshXADG0fC2qi0eBRGGyq7P8SgK7HVPFSHy m/WwGoDmj2iKDur27g4vPLTBP88NS1nK7+jPhLC+32KwtHMFS0A6OIyFECzZLuljZN+mI5 tNFdqkOG5mn90u6/c4DoKY/En+4B2uBpFnfwzWTWQTpAQ9qyIUjxXrPwZMekxk7gMSHAs5 6/V4CaIneWR5ez++qxSvIHzur0ylGP0p8gdx72ptUfdQ6ukEsXtVP2AQ2AJvgN5WA3XcG6 Q19xSal3Q9rSyNZWs86qwlqv78EBK2hXpckd/uNur8HWFe2FCYMICjBfeaxK1g== X-Migadu-Spam-Score: -0.91 X-Spam-Score: -0.91 X-Migadu-Queue-Id: 2258C28345 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=T8Hbt0W3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-TUID: YHZGzIlOYYHh I am running into an issue where I created a draft (let call it "D") as a reply to a message (let's call it "A") that I don't have in my database by setting "In-Reply-To" in the draft to "A". I accidentally left over a "References" field which contains the ID of another message ("B"). This grouped the new draft "D" with the message "B" when viewing search results. I saved the draft and ran `notmuch new` before realizing my mistake. I changed the message, removed "B" from "References" and deleted the files of all old (and intermediate) drafts that have "B" in "References". But no matter what I do, I have "B" grouped with "D" and any other messages which I create with "In-Reply-To" being "A". I suspect that somewhere in the database the IDs of "A" and "B" are linked now. Is there a way (short of deleting the database and re-indexing) to correct this and remove this connection? Thanks, -- Al