🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54741

Re: Article numbering?

#54741
From: Mark
Date: Sat, 20 Oct 2001 08:05
51 lines
3440 bytes
"Curt Welch" <curt@kcwc.com> wrote in message
news:20011019121340.357$7p@newsreader.com...

> "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


Yes, that is exactly what I needed. Thanks. :)

- Mark

        System Administrator Asarian-host.org

---
"If you were supposed to understand it,
we wouldn't call it code." - FedEx


Technical Details
Message-ID: <hfaA7.547572$Lw3.33333780@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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!216.166.61.6.MISMATCH!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!news2.aus1.giganews.com.POSTED!not-for-mail
References: <yjWz7.541976$Lw3.32900448@news2.aus1.giganews.com> <20011019121340.357$7p@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <hfaA7.547572$Lw3.33333780@news2.aus1.giganews.com>
Subject: Re: Article numbering?
Date: Sat, 20 Oct 2001 08:05:33 GMT
From: "Mark" <admin@asarian-host.net>
References: <yjWz7.541976$Lw3.32900448@news2.aus1.giganews.com> <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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!216.166.61.6.MISMATCH!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!news2.aus1.giganews.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 50
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Date: Sat, 20 Oct 2001 03:05:33 CDT
Organization: Giganews.Com - Premium News Outsourcing
X-Trace: sv3-pHsGAJEF3ed7iYaJo1ImajZ7JihnEvBbOZTMv4CdhPFEHmLE7jdDyalofTiyO0hMgRaUGBG8D4VHj9y!UW1ZCw02cMw/rmr7SiS4SUzsTjbwEiwKvbPR5CLJBizkvfVVhnJk9R+HR41Rn/Y+UB4m9DXTdWBx
X-Complaints-To: abuse@GigaNews.Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly