Thread View: news.software.nntp
5 messages
5 total messages
Started by Scott Reilly
Tue, 01 Feb 2000 00:00
Expiring of messages (in general)
Author: Scott Reilly
Date: Tue, 01 Feb 2000 00:00
Date: Tue, 01 Feb 2000 00:00
13 lines
1204 bytes
1204 bytes
Could someone explain the mechanism by which newsgroup postings are expired? Is the NNTP server able to tell the client that a message(s) is/are expired and that it would be advisable to expire it within the newsreader? I am not asking about how to do this with a particular NNTP server or client. Just how/if this is done in the NNTP standard itself. Thanks! -Scott Reilly sreilly@utcorpNOSPAM.com
Re: Expiring of messages (in general)
Author: Russ Allbery
Date: Tue, 01 Feb 2000 00:00
Date: Tue, 01 Feb 2000 00:00
29 lines
1842 bytes
1842 bytes
Scott Reilly <"NOSPAMsreilly"@utcorp(no_spam).com> writes: > Could someone explain the mechanism by which newsgroup postings are > expired? There are two major mechanisms; one is to run a cron job, usually daily, that goes through and deletes all the old articles out of the spool. The other is to store all your news in circular buffers so that when you run out of space, you overwrite the oldest article, hence expiring it. > Is the NNTP server able to tell the client that a message(s) is/are > expired and that it would be advisable to expire it within the > newsreader? Newsreaders don't store news messages. Expiry takes place entirely on the server. > I am not asking about how to do this with a particular NNTP server or > client. Just how/if this is done in the NNTP standard itself. The NNTP standard doesn't deal with expiry. The only thing you have to be aware of when writing an NNTP client is that the lowmark of the group will keep increasing and that the lowest few articles may not actually be there when you go to look for them. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Expiring of messages (in general)
Author: Russ Allbery
Date: Tue, 01 Feb 2000 00:00
Date: Tue, 01 Feb 2000 00:00
32 lines
2071 bytes
2071 bytes
Don Quixote <spambait@whitehouse.gov> writes: > Russ Allbery <rra@stanford.edu> might have said: >> Scott Reilly <"NOSPAMsreilly"@utcorp(no_spam).com> writes: >>> Is the NNTP server able to tell the client that a message(s) is/are >>> expired and that it would be advisable to expire it within the >>> newsreader? >> Newsreaders don't store news messages. Expiry takes place entirely on >> the server. > Errr, offline readers for fifty, please? Well, yes, but that's not storage in the sense that I'm talking about. > Messages are stored 'within' the (context of the?) reader, and can even > be kept there long after the server will no longer have them. You knew > that though. :) Is 'Expiry' being used in a technical sense here? > Enquiring minds are bored tonight... I'm not quite sure what the context of the original question is, but the support for expiration in the NNTP protocol is limited to the documentated fact that the range of articles available in a group will keep changing. If you want to see if an article you have on hand has expired on the server, you can ask the server if it still has that article number, but the server isn't going to tell you when it deletes it. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Expiring of messages (in general)
Author: Wolfgang Schelongowski
Date: Wed, 02 Feb 2000 00:00
Date: Wed, 02 Feb 2000 00:00
18 lines
1281 bytes
1281 bytes
In <yl3drch6q9.fsf@windlord.stanford.edu> Russ Allbery <rra@stanford.edu> writes: >The NNTP standard doesn't deal with expiry. The only thing you have to be >aware of when writing an NNTP client is that the lowmark of the group will >keep increasing ... Except when a news server is reinstalled from scratch without copying the active file. Then all numbers are reset and start with 1. This happens rather rarely but the client should be able to catch that case. -- "Ith he a diplomat, mithtreth?" "No, Igor. He's the _reason_ for diplomats." -- Terry Pratchett, The Fifth Elephant
Re: Expiring of messages (in general)
Author: Curt Welch
Date: Sun, 06 Feb 2000 00:00
Date: Sun, 06 Feb 2000 00:00
48 lines
3159 bytes
3159 bytes
donq@eclipse.net wrote: > Russ Allbery <rra@stanford.edu> might have said: > > >> Scott Reilly <sreilly@utcorp.com> writes: > >... > >> I didn't expect it to work, but the reader must have some means of > >> determining a message is expired, otherwise you would have a record > >> (at least the headers) of every article posted since you subscribed to > >> the newsgroup. > > > >Actually, the latter is precisely what most newsreaders do, but they > >take advantage of the fact that all articles in a group *on a particular > >server* are given article numbers that are monotonically increasing. So > >they can remember that the user has read (or the server didn't have) all > >articles 1-45290 without having to store information about each of them > >individually. > > Ah, it grows clearer! > > :) > > Eventually, clue happens. > > Thank you. The increasing low water mark from the GROUP command is the main indicator of expired articles, but it's also very common for articles to expire from the middle of the range. They can also be canceled which from the NNTP client perspective is just the same as being expired. When this happens, lots of things happen at the NNTP level to indicate the fact that articles are missing. The article count from the GROUP command should (but won't always) decrease, ARTICLE, HEAD, and BODY commands will return an error status if you try to read the deleted/expired article. The NEXT, and LAST commands will no longer return info for the article. The STAT command will return an error if you ask about the article. The XOVER data should no longer return info for the article, etc. etc. The low water mark just goes up as an indication that all article below that point have been deleted or expired. In the past, there were some servers which never bothered updating the low water mark, so the news reader had to figure that out for itself using the other commands. Not sure if any servers do that anymore. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads