Serious issue with mailing list - thread breaks when a message is modified [message #26616] |
Fri, 29 July 2005 10:04 |
ligesh
Messages: 63 Registered: July 2005
Karma: 0
|
Member |
|
|
Hi,
If a person modifies the message after it is posted, the reply to the message from a mailing list gets added as a separate topic.
This is terrible, almost makes it useless, since we will have to monitor if the user is making any changes to his message.
i guess the message ID changes on modification, and to solve this issue, when message ID is modified, the old ID should stored somwhere and that should be compared when a mail is received. Is it possible to fix this?
Thanks a lot.
[Updated on: Fri, 29 July 2005 12:01] Report message to a moderator
|
|
|
Re: Serious issue with mailing list - thread breaks when a message is modified [message #26620 is a reply to message #26616] |
Fri, 29 July 2005 12:00 |
ligesh
Messages: 63 Registered: July 2005
Karma: 0
|
Member |
|
|
i think i have found the basic problem.
Fudforum doesn't set the message-id of the mails it sends out, and actually gets the message-id when the mail returns to it via the mailing list. This is a round about way, and i think is what could be root cause of the current problem. Instead, Fudforum should set its own message-id, and then the MTA will not add it again, and then it can trivially set the reply-to even if the message is modified.
---------------------------------=============
char *mutt_gen_msgid (void)
{
char buf[SHORT_STRING];
time_t now;
struct tm *tm;
const char *fqdn;
now = time (NULL);
tm = gmtime (&now);
if(!(fqdn = mutt_fqdn(0)))
fqdn = NONULL(Hostname);
snprintf (buf, sizeof (buf), "<%d%02d%02d%02d%02d%02d.G%c%d@%s>",
tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour,
tm->tm_min, tm->tm_sec, MsgIdPfx, getpid (), fqdn);
MsgIdPfx = (MsgIdPfx == 'Z') ? 'A' : MsgIdPfx + 1;
return (safe_strdup (buf));
}
---------------------------------------------
The above is mutt message-id generating function, and i think we should have the message id generation inside fudforum itself.
Thanks.
|
|
|
|
|
|
|
|