On 10/9/20 4:39 PM, jonathan.mailing.lists@gmail.com wrote:
Thanks for this. I’m sure I could turn that basic information (from, date, subject) into an mbox file somehow. What else does Mailman need, eg to work out which messages are in reply to which?
To properly thread messages, each message should have a unique Message-ID: header and all replies should have an In-Reply-To: header with the Massage-ID: of the message to which it's a reply.
E.g. the first message in a thread has
Message-ID: <some_unique_string@example.com>
A reply to that has
Message-ID: <different_unique_string@example.com> In-Reply-To: <some_unique_string@example.com>
and a reply to that message has
Message-ID: <third_unique_string@example.com> In-Reply-To: <different_unique_string@example.com>
The angle brackets around the strings are required and every Message-ID: in the entire archive for a list must be unique. If threading is not an issue, hyperkitty_import will generate a unique Message-ID: for any message without one. References: headers are not required.
Would it be possible to add ex-forum message “emails” like this to an existing mailing list archive?
Yes. When running hyperkitty_import you probably need to specify since= in this case, otherwise only messages with dates newer that the newes message in the existing archive will be imported.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan