Article View: news.software.nntp
Article #7747Re: NEWNEWS command doesn't work right
From: Ben Polk
Date: Sun, 19 May 1996 00:00
Date: Sun, 19 May 1996 00:00
54 lines
2742 bytes
2742 bytes
Juan wrote: > I am using Netscape News Server on a DEC OSF1. It is essentially INN1.4. In the future, if you post to the netscape.server.news newsgroup on the secnews.netscape.com server (on secure news port 563, so you have to use the Netscape Newsreader to do this) you'll have more of us Netscape folk likely to see it. This problem looks like a generic INN type thing though. > Recently, using the NNTP command "newnews" to retrieve recent articles from a > specified date, will retrieve articles even before that date. Even when I > specify a future tomorrows date like : "newnews alt.2600 961201 000000", I > seem to be getting ALL the articles? > Is this a config error or are some indexes messed? It's possible the history file is bad, but I've never heard of it having this problem before. Looking at the code, it scans forward through the history file until it finds an article that has an entry that is at the date specified, or greater, and then it assumes the following articles are all after that. My guess is that you've gotten a corrupted entry near the beginning of the history file that has a way far in the future date. > What to do, reinstall? Try rebuilding the history file using the "makehistory" utility. Beware that this takes a LONG time. A day or two on big spool for a full USENET feed. Here are some questions: 1. Do you really HAVE to use NEWNEWS? It is inherently evil and in my opinion should be removed from the NNTP protocol. There are some NNTP inplementations that will totally be crushed by anyone sending NEWNEWS commands, and others that are merely very heavily loaded. I rewrote some pieces of the last NNTP application I had to use the article numbers instead of NEWNEWS - the server is much happier with that. Assuming you have to use NEWNEWS, and it's not just a corrupt history file: 2. Did this used to work? If so, for how long? 3. Is the clock on your news server machine is correct? Ben Polk Netscape News Server Engineering
Technical Details
Message-ID:
<319FA0DF.7BC3@netscape.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!not-for-mailReferences:
<4njfsq$c4n@ftpsvr.cyberway.com.sg>Show Full Headers
Complete Article Headers
Message-ID: <319FA0DF.7BC3@netscape.com> Subject: Re: NEWNEWS command doesn't work right Date: Sun, 19 May 1996 00:00:00 +0000 From: Ben Polk <bpolk@netscape.com> References: <4njfsq$c4n@ftpsvr.cyberway.com.sg> 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: 155650030 Distribution: inet To: Juan <heejuan@cyberway.com.sg> Content-type: text/plain; charset=us-ascii Organization: Netscape Mime-version: 1.0 Newsgroups: news.software.nntp X-mailer: Mozilla 3.0b3Gold (WinNT; I)