🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Ken Murchison Thu, 12 Jun 2003 13:01
Fetching articles by message-id
#126305
Author: Ken Murchison
Date: Thu, 12 Jun 2003 13:01
22 lines
1838 bytes
Could someone explain to me how fetching by message-id (eg, HEAD/ARTICLE
<msgid>) is usually used by clients?  What happens if the server no
longer has the message-id -> article mapping, but the article itself
still exists?  Does the client fail to provide a certain functionality,
or can it get the info it needs by some other means?

I'm trying to figure out how to handle really large IMAP mailboxes (eg,
mailing list archive of 20K+ messages) when they are exported via NNTP.
   In order to make NNTP clients happy, does a server have to keep a
record of the message-ids for as long as the articles remain in the
group?  Or is it possible to expire/purge the message-id entries after
some period of time, say 30 days?

TIA,
Ken
-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

Re: Fetching articles by message-id
#126338
Author: J.B. Moreno
Date: Thu, 12 Jun 2003 22:18
51 lines
2985 bytes
Ken Murchison <ken@oceana.com> wrote:

> Could someone explain to me how fetching by message-id (eg, HEAD/ARTICLE
> <msgid>) is usually used by clients?

It's most commonly used to fetch individual articles -- i.e. clicking in
the References header to load a parent (or for those using tin "u", I
believe it's "p" in Xnews, etc, etc, etc).

It's sometimes used for regular reading (i.e. it's always used), this
works most of the time, although there is a known problem with one
popular server (hiwinds or whatever it's called now).  Fortunately it's
only with older articles that it's a problem, so even the clients that
normally use it don't have a problem with text groups (binaries are
another matter).

It's also used for binary fills across servers.

> What happens if the server no longer has the message-id -> article
> mapping, but the article itself still exists?

Theoretically this doesn't happen -- in actual practice it /can/ happen,
but it is a sign of a misconfigured server (history isn't large enough).

> Does the client fail to provide a certain functionality,
> or can it get the info it needs by some other means?

It definitely impacts functionality -- and no, there's no real work
around.

And while on one hand the older the article is, the less likely that
someone is actually going to read that particular article, on the other
hand, the *more* likely that they will do so via the message-id when
they make the attempt.

> I'm trying to figure out how to handle really large IMAP mailboxes (eg,
> mailing list archive of 20K+ messages) when they are exported via NNTP.
>    In order to make NNTP clients happy, does a server have to keep a
> record of the message-ids for as long as the articles remain in the
> group?  Or is it possible to expire/purge the message-id entries after
> some period of time, say 30 days?

The message-id => article (as well as body and head) should remain as
long as the article is present.

Anything else is simply broken.

-- 
JBM
"Everything is futile." -- Marvin of Borg
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