Mailing lists and Message-ID [message #22180] |
Wed, 19 January 2005 00:31 |
mikelcu
Messages: 7 Registered: January 2005 Location: Portland, OR
Karma: 0
|
Junior Member |
|
|
It appears that when a mail without the "Message-ID" header reaches a forum, FUD does not see the mail as arriving from a mailing list, and ends up forwarding it back to the list, resulting in a double-post both on the list and in the forum.
The mailer in question is syncmail, being used to log cvs commits. The mail server is qmail. Normally, the Message-ID is added by the mail server, but in my case I think it is because of how mail is handled:
syncmail -> mail server (has smtproute for lists.domain.com) -> list server -> "|preline qmail_to_mailman.py"
My best guess for this scenario is that because the mail is smtprouted on the first mail server piped directly to a script on the list server, then qmail-inject never gets a chance to write the Message-ID header.
This example is pretty specific, and unlikely to affect many people, however it does illustrate that any mail arriving without a Message-ID may not be handled properly.
Possible fixes?
Watch for more than just Message-ID when checking for loops, maybe start with that then move on to Reply-To or some other header if Message-ID does not exist.
Disallow forwarding to a mailing list for any post that comes in via maillist.php. I can't think of a situation where mail would come in via maillist.php and need to be forwarded on to a list (maybe if more than one list is attached to a forum? though that is probably a really bad idea anyway. maybe there should be a one-list-per-forum limit)
My workaround:
modified syncmail to add a Message-ID header
|
|
|
Re: Mailing lists and Message-ID [message #22181 is a reply to message #22180] |
Wed, 19 January 2005 00:34 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I think I've already applied one patch that should handle double-posting.
I intend to release .10RC1 shortly, it will have that fix.
FUDforum Core Developer
|
|
|
|