🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62365

Re: IHAVE/POST implementation question

#62365
From: Curt Welch
Date: Fri, 20 Dec 2002 20:35
31 lines
2843 bytes
Ken Murchison <ken@oceana.com> wrote:
> Are IHAVE and POST required/assumed to be atomic?  In other words, if an
> article is supposed to be posted to more than one group, and posting to
> any one of the groups fails, while one or more succeeds, what should the
> return code of the command be?  Since there is no mechanism for partial
> success/failure reporting (unlike SMTP RCPT TO), I assume that if
> posting to at least one of the group succeeds, then the entire command
> succeeds.  Is this a correct assumption?

Yes, you are correct.  The return code should only indicate if the article
was accepted or not. If you return an error code, you should assume that
the user, or the software, will try to post it again (after maybe makeing
some change to it)  And if you accepted the article and posted it to a
group, then you don't want them trying again.  Any type of error return
from a post is taken to mean the article was not accepted and will never
show up anywhere on the news server.

In most news servers, "posting to a group" is not something that can
"fail".  Either the entire article is accpeted, or the entire article is
rejected.  Some news servers will check things like the Newsgroups: line at
post time, others will ignore it, and deal with it later when it's too late
to return any type of error back to the user.  A "good" news server should
check everything at "POST" time and if it's going to reject the article for
some reason, it will reject it when posted so it can return an error to the
user.  But not all servers are as "good" as they should be and will
silently drop posts for reasons never to be understood by the users.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021220153540.831$x6@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <3E035FBC.ECC8CBE9@oceana.com>

Show Full Headers
Complete Article Headers
Message-ID: <20021220153540.831$x6@newsreader.com>
Subject: Re: IHAVE/POST implementation question
Date: Fri, 20 Dec 2002 20:35:40 +0000
From: curt@kcwc.com (Curt Welch)
References: <3E035FBC.ECC8CBE9@oceana.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 1gTk9_CCOS1HiieiGcoti8xByghwsQ5P-z-Ylpfw8__F@9nJ@n
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-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 30