Article View: news.software.nntp
Article #54739Re: Article numbering?
From: Curt Welch
Date: Fri, 19 Oct 2001 16:13
Date: Fri, 19 Oct 2001 16:13
34 lines
2765 bytes
2765 bytes
"Mark" <admin@asarian-host.net> wrote: > How can I tell a NNTP client that it needs to clean out all articles? My > NNTP software keeps numbering up messages on my spool (as prescribed,) > but how do I let the client know all articles have expired? I heard that > I could renumber messages, starting with a number lower than what the > client may have. But I do not believe that is "kosher" really. As far as > I know, NNTP software should always use higher numbers for new articles, > regardless what happens. So, how then do I let the client know it needs > to flush everything it has? Is there a special NNTP command I can send > the client to have it reset its state? The response to the group command tells the client everything it needs to know. It includes the current low article number and the high article number. So if you have 10 articles in the spool numbered from 101 to 110, that is what the group command returns. But if they all expire, then the group command will return a response that says the high article is 110, but the low is 111. The fact that the low value is one higher than the "high" value tells the client that there are no current articles in the group. When a new article shows up for that group, it should be assigned the number 111, and the group command will return 111 for both the high and low article numbers. NNTP servers have to keep track of the article numbers even when there are no articles in the group. If you restart the group as article 1, it is likely to cause problems for some clients. Is that what you were asking? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20011019121340.357$7p@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!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<yjWz7.541976$Lw3.32900448@news2.aus1.giganews.com>Show Full Headers
Complete Article Headers
Message-ID: <20011019121340.357$7p@newsreader.com>
Subject: Re: Article numbering?
Date: Fri, 19 Oct 2001 16:13:41 +0000
From: curt@kcwc.com (Curt Welch)
References: <yjWz7.541976$Lw3.32900448@news2.aus1.giganews.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!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com nD5Q4GPD2BXEnjTMb3Y3_2oGa@upp67F-v81zfw8_sEmNlCIn
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: 33