Re: Fixed Message-ID trouble

Subject: Re: Fixed Message-ID trouble

Date: Tue, 26 Sep 2023 15:46:05 +0300

To: David Bremner, Daniel Corbe

Cc: notmuch@notmuchmail.org

From: Teemu Likonen


* 2023-09-26 07:07:46-0300, David Bremner wrote:

> Teemu Likonen <tlikonen@iki.fi> writes:
>> Perhaps my wish is that there was an easy way to break threads: mark a
>> message as origin of a new thread.

> How about if you delete the Message-ID, References, and In-Reply-To
> headers from the bad messages and re-index? Notmuch will synthesize a
> unique Message-Id if there is none present.

Will Notmuch also break the thread so that this edited message will
start a new thread? Maybe the message itself but its follow-ups need to
be fixed too. Often "References" points several earlier messages in the
chain. So, to detach a subthread from bigger thread would need manual
editing for more than one message:

 1. Edit one message and remove its "References" and "In-Reply-To".
    Possibly edit "Message-ID". This would be the origin of a new
    thread.

 2. Check all follow-ups to that message and make them refer the new
    origin and its (possibly) new "Message-ID". Remove references that
    go beyond the origin.

 3. Reindex.

Or just forget the mess and move on with life. :-)

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462
signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: