🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32398

Idea: Server proposes Message-ID in POST response

#32398
From: Olaf Titz
Date: Sat, 24 Oct 1998 00:00
35 lines
2461 bytes
I don't know if this has been proposed before, but it just has come
up in a discussion about the cancel-lock feature:

Often a client needs to know the Message-IDs of its own postings, for
bookkeeping purposes or to generate a Cancel-Lock header. This means
it has to generate its own IDs, which can lead to bogus domains and
ambiguity problems. Or does it have to generate the IDs itself? A
simple, backwards compatible NNTP protocol extension helps out:

When the server sees a POST command, it generates the Message-ID it
wants to use for the posting and returns this Message-ID in the 340
response. This Message-ID constitutes only a recommendation; the
client can use this ID, it can generate its own, or it can post
without Message-ID in which case the server will use exactly this
Message-ID for the posting.

The client identifies that the 340 response contains in fact a
Message-ID by the usual syntax /\<[^@>\s]+@[^@>\s]+\>/. If this
pattern is not contained in the response, it proceeds as usual with
generating its own ID.

This way, the client knows the Message-ID before sending the article
to the server and the server generates known good IDs.

I have a patch for INN 2.1 which implements this. It is rather
trivial. <URL:http://sites.inka.de/~bigred/sw/inn-msgid.txt>

olaf
-- 
___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

Technical Details
Message-ID: <70t78j$do0$1@danube.inka.de>
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

Show Full Headers
Complete Article Headers
Message-ID: <70t78j$do0$1@danube.inka.de>
Subject: Idea: Server proposes Message-ID in POST response
Date: Sat, 24 Oct 1998 00:00:00 +0000
From: olaf@bigred.inka.de (Olaf Titz)
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: 404671841
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: newsmaster@danube.inka.de
X-Trace: danube.inka.de 909254739 14080 193.197.84.26 (24 Oct 1998 18:45:39 GMT)
Organization: private Linux site, Germany
Mime-Version: 1.0
NNTP-Posting-Date: 24 Oct 1998 18:45:39 GMT
Newsgroups: news.software.readers,news.software.nntp