Article View: news.software.nntp
Article #69395Re: Are NNTP *article numbers* unique forever within a specific group on a specific server?
From: Russ Allbery
Date: Sun, 04 Jul 2004 02:36
Date: Sun, 04 Jul 2004 02:36
32 lines
2707 bytes
2707 bytes
Adam Megacz <adam@megacz.com> writes:
> However, I need to know if NNTP article numbers have similar semantics
> to IMAP UIDs. IMAP UIDs are only unique for a specific mailbox
> (group) on a specific server -- not globally. They always increase.
> The only exception is a "UID(in)VALIDITY" event, which has no
> equivalent on NNTP.
> Is this true of article numbers? If I log into NNTP server x.y.z.com
> today, and see article number 102, can I assume that if I connect to
> the same server a year later and there is an article 102 there that it
> is the same article?
Yes, absent complete article renumberings that should never happen in the
course of normal operations, and would be equivalent to a change of IMAP
server that destroyed all the UIDs. (Although NNTP has no equivalent of
the UIDVALIDITY event to warn you when that happens, unfortunately.)
> My newsreader (gnus) seems to assume this since it caches my
> "what-i-have-read" markings by article number, not messageid... From my
> reading of the RFC I found nothing at all to indicate that this is the
> case; in fact, it seemed quite unlikely that this sort of technique is a
> good idea.
Which RFC were you reading? The one you want is the NNTP RFC (977), or
ideally the current NNTP I-D.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<877jtkijmb.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<m1r7rsv6uc.fsf@nowhere.com>Show Full Headers
Complete Article Headers
Message-ID: <877jtkijmb.fsf@windlord.stanford.edu> Subject: Re: Are NNTP *article numbers* unique forever within a specific group on a specific server? Date: Sat, 03 Jul 2004 19:36:28 -0700 From: Russ Allbery <rra@stanford.edu> References: <m1r7rsv6uc.fsf@nowhere.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 32 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1088908588 117 171.64.19.147 (4 Jul 2004 02:36:28 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:RVgsnE1alh/ycXE9mUpeD0h2sk0=