How does Mailman determine what thread does a given message belong to?

Hi!
I'm running a mailing list with several webmail client users who chose to receive digests. How should they properly send replies, so they get in the proper thread?
Moderator of mailman-users@python.org suggested me to write a proper Subject:
People can reply to the digest and just change the Subject: and edit out the irrelevant quotes;
But when I tried simulating this behaviour by writing to <mylistaddress>@<mylistdomain> with Subject: being "Re: [<my list name>] <The thread I wanted to reply to>", I ended up creating a new thread. This probably was a mistake, and Mailman is able to determine which thread to put reply to by combination of Subject: and In-Reply-To: headers, but I am not completely sure.
Also another user replied to the digest she received without changing the Subject: (which was also a mistake), and this also caused creating a new thread.
Can somebody please point me at the logic which Mailman uses to determine the target thread of a given message? Does it only look for In-Reply-To: header, or it uses some heuristics which can be used by digested webmail users?
Best regards, Ivan.

On 05/05/2013 06:19 AM, Krylov Ivan wrote:
I'm running a mailing list with several webmail client users who chose to receive digests. How should they properly send replies, so they get in the proper thread?
There are several ways.
- Subscribe to the MIME format digest and use a mail client that
understands the MIME digest format and allows you to reply to individual message attachments in the digest. 2) Generate the reply by going to the message in the list's archives and replying via the mailto: link (from the author's email address) 3) Make sure the Subject: of the reply matches the Subject: of the message being replied to (only works in Mailman 2.1.14 and newer).
Can somebody please point me at the logic which Mailman uses to determine the target thread of a given message? Does it only look for In-Reply-To: header, or it uses some heuristics which can be used by digested webmail users?
Mailman threads first by In-Reply-To: header, second by References: header and third (only since 2.1.14) by Subject: header.

Mark Sapiro wrote:
Mailman threads first by In-Reply-To: header, second by References: header and third (only since 2.1.14) by Subject: header.
Thanks for your reply, that's exactly what I've been looking for!
- Generate the reply by going to the message in the list's archives
and replying via the mailto: link (from the author's email address)
That's probably impossible with webmail, but I'll try to convince that users to use a proper mail client.
Best regards, Ivan.
participants (2)
-
Krylov Ivan
-
Mark Sapiro