🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38964

Re: Creating My Own Server: Message-IDs

#38964
From: Curt Welch
Date: Thu, 05 Aug 1999 00:00
50 lines
2857 bytes
joemac@optonline.SPAMBLOCKnet.invalid (Joe Mac) wrote:
> Where can I find information on how a message-ID stays the same between
> servers?

In the source code of the servers.

> If I post an article from a news client, the server assigns a message ID
> to it and passes it along to other servers that maintain that same ID
> (they don't modify it).
>
> If I set up my own server and attempt to pass messages along to another
> server, the other server sets its own message-id for the message, which
> screws up my server.

How are you sending messages to the other server?  Most servers I know
about will not add or change the message-ID no matter how you pass the
article.  Even if you are posting a new article, if it already has a
valid Message-ID, the server will leave it there.

Some people have changed their servers to overide that, but it's not
common - and it's very dangerous if done wrong because it causes
duplicate articles to be injected into Usenet.

> So...how does a server know not to modify the message-id?  Do servers
> connect on a different port?  Send messages differently? What?

Generally, when you configure a server, you tell it where to accept
feeds from (and every one else is considered a reader -- i.e. common
untrusted user).  So if you want to feed articles into Usenet, you need
to set up a feed with some server (i.e. arrange it with the news admin
of the site).

In general, feeds use the IHAVE and/or CHECK/TAKETHIS commands to feed
articles. (not POST - which should only be used for posting new articles).

No server should change the message-ID on an article that came to it with
an IHAVE or TAKETHIS command.  That would cause dup articles to flood
Usenet.

> Obviously, some basic primer on server setups or the proper RFCs to be
> checking out could be helpful as I imagine the answers are not simple.
> Or hey, maybe they are...

Read the NNTP RFCs.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19990804201723.098$zI@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <8E18C514039806@news.optonline.net>

Show Full Headers
Complete Article Headers
Message-ID: <19990804201723.098$zI@newsreader.com>
Subject: Re: Creating My Own Server: Message-IDs
Date: Thu, 05 Aug 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <8E18C514039806@news.optonline.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 508986505
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp