🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69393

Are NNTP *article numbers* unique forever within a specific group on a specific server?

#69393
From: Adam Megacz
Date: Sun, 04 Jul 2004 02:34
37 lines
2976 bytes
So, technically if you want something unique, you should be using the
Message-ID.

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?

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.

If you're curious why, I'm implementing a unified library for mail and
news, and I'm trying to treat IMAP as a proper superset of NNTP (which
in turn is a proper superset of [A]POP3!) so it can act as a "proxy" to
let an NNTP newsreader read from IMAP mailboxen, and to do the reverse
(IMAP client reads from NNTP server) with as little loss of efficiency
as possible (obviously I can't support the full IMAP SEARCH command
without downloading the entire newsgroup).

  - a

-- 
"The first time I read this book I felt what I could only explain as a
 great disturbance in the Force: it was as if a billion washing
 machinces all became unbalanced at once and were suddenly silenced."

                             -- anonymous book reviewer on Amazon.com
Technical Details
Message-ID: <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!local1.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <m1r7rsv6uc.fsf@nowhere.com>
Subject: Are NNTP *article numbers* unique forever within a specific group on a specific server?
Date: Sat, 03 Jul 2004 19:34:03 -0700
From: Adam Megacz <adam@megacz.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!local1.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 03 Jul 2004 21:32:40 -0500
Newsgroups: news.software.nntp
Organization: Myself
X-Home-Page: http://www.megacz.com/
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux)
Cancel-Lock: sha1:w4+wz8ScVN1LudJzhhnt4uzs3ww=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 37
X-Trace: sv3-aDFrEckGBR2M3i++kRSH8KFzGssP8yVIna2BHwS7XT0JH/gnEib8Lr84w5R3h+EuRDgJsTmkspR8Av7!/ujDnNGyX1fJQltDyYTK6C/IinkBciEU2CEdzJODvTY/2K0N
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.1