Thread View: news.software.nntp
9 messages
9 total messages
Started by Christian Ruge HRZ
Wed, 05 Feb 1997 00:00
Message-ID
Author: Christian Ruge HRZ
Date: Wed, 05 Feb 1997 00:00
Date: Wed, 05 Feb 1997 00:00
12 lines
767 bytes
767 bytes
Hello, we are using INN-1.5.1 on a Sun-Sparc station. Is it possible to instruct the innd that all Message-IDs of the messages posted directly to our server should end with the fqdn of our server? Many thanks Christian Ruge
Re: Message-ID
Author: Marc Roger
Date: Wed, 05 Feb 1997 00:00
Date: Wed, 05 Feb 1997 00:00
25 lines
1404 bytes
1404 bytes
On 5 Feb 1997 13:35:07 GMT, in news:<5da2ab$4tk$1@surz03fi.HRZ.Uni-Marburg.DE>,
Christian Ruge HRZ <ruge@surz10.hrz.uni-marburg.de> wrote in news.software.nntp:
>we are using INN-1.5.1 on a Sun-Sparc station.
>Is it possible to instruct the innd that all Message-IDs of the messages
>posted directly to our server should end with the fqdn of our server?
This should do it
--- post.c.orig Wed Feb 5 21:00:08 1997
+++ post.c Wed Feb 5 21:00:59 1997
@@ -338,7 +338,7 @@
}
/* Set Message-ID */
- if (HDR(_messageid) == NULL) {
+ if (1) {
if ((p = GenerateMessageID()) == NULL) {
(void)sprintf(Error, "Can't generate Message-ID, %s",
strerror(errno));
--
Marc Roger
Re: Message-ID
Author: Brandon Hume
Date: Wed, 05 Feb 1997 00:00
Date: Wed, 05 Feb 1997 00:00
20 lines
1365 bytes
1365 bytes
In news.software.nntp Christian Ruge HRZ <ruge@surz10.hrz.uni-marburg.de> wrote: : Is it possible to instruct the innd that all Message-IDs of the messages : posted directly to our server should end with the fqdn of our server? I did this, but by modifying the code in the nnrpd itself. By that method, you'd need to find the spot in the source (post.c? Ack, can't remember...) where it checks to see whether the message_id header has been set or not, and force it to generate a new one in any event. A completely useless answer, since I can't even provide which file the target code is in, much less an example of the mods... (Ugh...CGI coding is turning my brain to mush.) -- Brandon Hume - hume@isisnet.com, hume@scapes.net - Finger for Geek codes, PGP, /dev/zero, yadda yadda.
Re: Message-ID
Author: Ben Polk
Date: Thu, 06 Feb 1997 00:00
Date: Thu, 06 Feb 1997 00:00
38 lines
2099 bytes
2099 bytes
Marc Roger wrote: > > On 5 Feb 1997 13:35:07 GMT, in news:<5da2ab$4tk$1@surz03fi.HRZ.Uni-Marburg.DE>, > Christian Ruge HRZ <ruge@surz10.hrz.uni-marburg.de> wrote in news.software.nntp: > >we are using INN-1.5.1 on a Sun-Sparc station. > >Is it possible to instruct the innd that all Message-IDs of the messages > >posted directly to our server should end with the fqdn of our server? > > This should do it [snip] You should not do this. For a number of reasons it is best to accept the message-id presented by the posting client. The biggest reason is that gateways from other article sources (email lists, Lotus Notes, etc) posting articles often generate message-ids in a way that forces a unique mapping between their object identifiers and the message-id. If you ignore their generated message-id it is possible for multiple copies of articles to get introduced into the Usenet system with different message-ids. This is very bad. The RFCs could be considered vague on this issue, but my interpretation of 1036 is that it is not correct for the server to ignore a message-id presented by a client. This has caused repeated problems in the past. Unless you have a really good reason, and have good control over what will be posting to your server, don't ignore message-ids presented in POST commands. Ben Polk Netscape News Server Engineering
Re: Message-ID
Author: Sven Paulus
Date: Sun, 09 Feb 1997 00:00
Date: Sun, 09 Feb 1997 00:00
31 lines
1852 bytes
1852 bytes
Evan Champion <evanc@synapse.net> wrote:
EC> He could have nnrpd strip incoming message ID's and then add new ones.
EC> That wouldn't have the problem of 2 different articles with the same
EC> message ID.
But that's dangerous: In the case a user get's articles from server A via
slurp/suck and sends them to server B via rpost, and the Message-Ids are
stripped on B's nnrpd, you would get duplicate articles.
A solution is to insert the following in post.c (ProcessHeaders):
/* Check, if Message-ID is already on the server,
in this case drop the article */
if ((HDR(_messageid) != NULL) &&
(HISgetent(HDR(_messageid), FALSE) != NULL)) {
return "Article already present on server";
}
After doing this check, it's almost safe deleting the Message-Id (problems
can occur, when the Path net->A->User->B is faster than net->B or when B
accepts postings in group which are not feeded to B).
Sven
--
--Sven-Paulus----------28-48-32--3-----ub6v@rz.uni-karlsruhe.de------
--Karlstr.-55----------30--2-50-29-----sven@oops.sub.de--------------
--D-76133-Karlsruhe----44-49-10--8-----T#-49-721-9375094-------irc---
--Fido-2:2476/530-------9-12-19-71-----F#-49-721-9375095-----svennie-
Re: Message-ID
Author: Wolfgang Schelongowski
Date: Sun, 09 Feb 1997 00:00
Date: Sun, 09 Feb 1997 00:00
26 lines
1572 bytes
1572 bytes
In <32FA90E2.1EAB@netscape.com> Ben Polk <bpolk@netscape.com> writes: [about creating articles with a Message-ID which is always determined by the news server] >You should not do this. For a number of reasons it is >best to accept the message-id presented by the posting >client. >The biggest reason is that gateways from other article >sources (email lists, Lotus Notes, etc) posting articles >often generate message-ids in a way that forces a unique >mapping between their object identifiers and the message-id. ... This is only a problem if you have several gateways. Then you run into problem of nopes. You don't know about Bielefeld, and you don't want to know, trust me - but I do, *sigh*. -- Wolfgang Schelongowski Check _all_ headers for sending email. Teifi, Teifi, Sakradie, do geht er dahin! -- EAV, Alpenrap
Re: Message-ID
Author: Matt Dillon
Date: Sun, 09 Feb 1997 00:00
Date: Sun, 09 Feb 1997 00:00
19 lines
1253 bytes
1253 bytes
:In article <5dlb1q$3c6$4@imperator.oops.sub.de>, :Sven Paulus <sven@oops.sub.de> wrote: :>Evan Champion <evanc@synapse.net> wrote: :> EC> He could have nnrpd strip incoming message ID's and then add new ones. :> EC> That wouldn't have the problem of 2 different articles with the same :> EC> message ID. :> :>But that's dangerous: In the case a user get's articles from server A via :>slurp/suck and sends them to server B via rpost, and the Message-Ids are :>stripped on B's nnrpd, you would get duplicate articles. :> It's worse then that... you will get article post loops. -Matt
Re: Message-ID
Author: Evan Champion
Date: Sun, 09 Feb 1997 00:00
Date: Sun, 09 Feb 1997 00:00
12 lines
1055 bytes
1055 bytes
Olaf Titz wrote: > Do not do this. Any news software changing an existing Message-ID runs > the risk of producing duplicate articles. He could have nnrpd strip incoming message ID's and then add new ones. That wouldn't have the problem of 2 different articles with the same message ID. Evan
Re: Message-ID
Author: Cracker Buster
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
21 lines
1483 bytes
1483 bytes
On 9 Feb 1997, Matt Dillon wrote:
> :Sven Paulus <sven@oops.sub.de> wrote:
> :>Evan Champion <evanc@synapse.net> wrote:
> :> EC> He could have nnrpd strip incoming message ID's and then add new ones.
> :>
> :>But that's dangerous: In the case a user get's articles from server A via
> :>slurp/suck and sends them to server B via rpost, and the Message-Ids are
> :>stripped on B's nnrpd, you would get duplicate articles.
>
> It's worse then that... you will get article post loops.
And it gets worse still. People will suspect you're making Yet
Another Test of a Microsoft news server...
http://www.fileita.it/webitalia/netscum/bouwsmb0.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads