Camel: Read message ID-s with multiple `@`
Dear Evolution developers,
I’ve noticed that grouping by threads gets confused when messages reference invalid message IDs.
Suppose one receives the following two messages and reads them with Evolution:
From: sender@domain1
To: recipient@domain2
Subject: test 1
References: <test1@sender@domain1>
This is test #1.
and
From: sender@domain1
To: recipient@domain2
Subject: test 2
References: <test2@sender@domain1>
This is test #2.
Then, if you enable grouping by threads, those two messages will be grouped together by Evolution, even though they have nothing in common, since they reference two different message IDs.
The problem seems to come from the fact that the referenced message IDs contain two ampersands, which violates RFC 2392. In that case, Evolution seems to ignore everything before the first ampersand in message IDs, as if both referenced message IDs were sender@domain1
. So they are effectively grouped together.
Fundamentally the bug is in the sender’s email client, not in Evolution. However, such message IDs happen in practice (under the form hash@user@domain
, so that all mails from that user get grouped), so it would be nice if Evolution were more tolerant in that case.
Also note that I experience this problem with Evolution 3.44.2, but not with 3.38.3 (both from Debian packages).
Thanks for your work,