On 2/11/19 10:01 AM, Abhilash Raj wrote:
Please create a bug report at https://gitlab.com/mailman/hyperkitty/issues with the affected messages.
It would help us recreate the problem if you could attach a raw messages in the issue. I am assuming the messages aren't sensitive since the archive are open. Otherwise, feel free to omit any sensitive information.
I haven't looked at the threading code in HK since a long time, but my impression is that it looks at the 'In-Reply-To' header to figure out if the current email is a response to a previous email that it received.
In some cases, the order of the incoming messages can cause this to break, like when the reply comes in first and the original messages comes in later. I am not sure exactly what is happening here, but looking at the raw messages should help us reproduce and possibly fix the issue.
I downloaded the February mbox from https://firstname.lastname@example.org/export/wlug@li... and imported it to a test list with 'django-admin hyperkitty_import and see the same issue.
Examination of the mbox shows for the first message
This will be wrapped, so here's an excerpt
Message-ID: < <SN6....prod.exchangelabs.com>>
Note the folding of the header and the double angle brackets.
The next message has (again excerpted to avoid wrapping)
Message-ID: < <BL0....prod.exchangelabs.com>> In-Reply-To: SN6....prod.exchangelabs.com
Note again the doubling of the angle brackets in the Message-ID and the absence of angle brackets in the In-Reply-To:
The Message-ID: and In-Reply-To: headers of subsequent messages have the same issues.
In looking at other mboxes downloaded from Hyperkitty, I see that the absence of References: and the dropping of the angle brackets from In-Reply-To: seem to be usual, and importing such a mbox preserves the threading.
However, the doubling of the angle brackets is not usual and is almost certainly the cause of the problem. Do you have any of the original messages? What do the headers look like in those?
-- Mark Sapiro email@example.com The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan