🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22286

Re: Posting - unique message IDs

#22286
From: J.B. Nicholson-Owens
Date: Fri, 31 May 1996 00:00
62 lines
4048 bytes
On 30 May 1996 18:58:30 -0400, Steve Zilko <steve@kazan.com> wrote:
> I am implementing a news reader and poster, and I am dealing with the
> need to generate unique message-IDs for the news postings that I am
> creating.

I'm not sure about all servers, but I believe you don't have to specify a
Message-ID at all.  I believe the server will make one for a post if one
isn't specified (I'm getting this from a good article on this topic posted
recently.  The main subject was why one should not make ``yet another
newsreader''.  Among other reasons why the world doesn't need another
newsreader, the file listed the minimum headers one needs to send to a
server for a legal post.  If I remember correctly, those headers were From:,
Newsgroups:, Subject: and References: in the case of a followup, but I might
be mistaken.)

Relying on the server to generate Message-IDs should work flawlessly,
however, unless those IDs contain some identifyable or predictable
substring, it might mean more work to let the user track followups to their
posts easily.  If you don't want to let the user track followups easily, you
need not create a Message-ID.  In slrn (ftp://space.mit.edu/pub/davis/slrn)
I can easily score followups to my articles high and it's *very* convenient.

> The application that I am implementing is a client only, and is
> sending its postings to a news server using the POST command of NNTP.
> How can I generate a guaranteed unique message-ID for my posting?  Is
> there a way to request a unique ID from the news server?  How does
> other posting software handle this issue.

Since you have to ask, I wonder why you're making a newsreader in the first
place.  I admit to agreeing with the aforementioned file that the world
doesn't need another newsreader.  New ideas rarely justify making an
entirely new application and unwarranted liberties are often taken when
creating a minimal set of worthwhile features.  When new ideas come along
(such as not forcing the user to think of article threads as a part of a
group), newsreader authors are usually unwilling to make an application to
supports this.

Most newsreader authors are better off staring with some already-written
newsreader app and building their feature on (or into) that.  In the case of
my newsreader of choice, slrn, I'd argue that any newsreader author starting
from scratch will take so long to get up to slrn's capabilities, the new app
will most likely not be worth using.  Furthermore, I've yet to see a GUI
newsreader that can compete with the freely available CLI newsreaders one
can compile for Unix.

I suggest checking out slrn (ftp://space.mit.edu/pub/davis/slrn) and
considering making a newsreader *server* by implementing it with an already
available RDBMS as the core (personally, I think the idea of using a
specific program to run a news server, like INN, is silly since the features
a news server needs are exactly what RDBMSs provide).  Treat server APIs
like a specification and let the RDBMS track threads, handle multiple
incoming feeds (using whatever locking mechanism the RDBMS provides if you
need one) and so on.

If I can find that article about making a newsreader, I'll repost a pointer
to it.
-- 
Due to local news server and feed problems, I might not see all followups.


Technical Details
Message-ID: <slrn4qt1iu.fod.jbn@mystery-train.cu-online.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
References: <31ae03ed.170044781@client1.news.psi.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4qt1iu.fod.jbn@mystery-train.cu-online.com>
Subject: Re: Posting - unique message IDs
Date: Fri, 31 May 1996 00:00:00 +0000
From: jbn@mystery-train.cu-online.com (J.B. Nicholson-Owens)
References: <31ae03ed.170044781@client1.news.psi.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
X-Deja-AN: 157800331
Distribution: world
Sender: zorch@ftp.UU.NET
Organization: Organizing Organisms & Organs
Newsgroups: news.admin.technical,news.software.readers