FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Serious issue with mailing list - thread breaks when a message is modified
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
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 Go to previous messageGo to previous message
ligesh is currently offline  ligesh   India
Messages: 63
Registered: July 2005
Karma:
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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Protect user list from anonymous users
Next Topic: Adding users to a group using a script
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 08:23:55 GMT 2024

Total time taken to generate the page: 0.05569 seconds