🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9397

Re: ihave enhancement

#9397
From: Jerry Aguirre
Date: Wed, 17 Jul 1996 00:00
39 lines
2266 bytes
In article <4sie8l$hc0@mujibur.inmind.com> thogard@inmind.com (Tim Hogard) writes:
>
>ihave <id@host> 12345 misc.test,alt.test
...
>The purpose of this is to allow inn to kill messages before transfering them
>based on size or groups theya re posted in.

There was some discussion on this but nothing as specific as your
suggestion.  How do you handle massive crossposting where the
newsgroups line is longer than the max allowed NNTP string length?  It
is already bad enough with some of those very long message IDs.  Seems
link an article cross posted to more than a dozen groups or so would
result in a string bigger than 512 bytes.  I suppose you could just not
supply the groups in that case allowing rejection after the fact.

What about distributions and dates?  Right now one can send an article
to a server and have it rejected as too old.  Of course one could
negotiate the allowed age once and then apply that value to all subsequent
articles.

Two issues present themselves.  First is you want to negotioate this
mode.  That is what I did for the "streaming NNTP" extension.  At connect
it does a "mode stream".  If the server returns a status meaning "unknown
command" then it reverts to normal mode.

You could use something like "mode size/group" or such.  If the server,
modified with your changes, responds with an "OK" status then you are
free to proceed with your enhanced protocol.

Consider using the "check" command instead of "ihave".  The old "ihave"
command is too slow to keep up anyway.

Do you plan to put the size and newsgroup information in the queue
file or extract it from the article at transmission time?

				Jerry

Technical Details
Message-ID: <4sjs6e$ob0@olivea.ATC.Olivetti.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-mail
References: <4sie8l$hc0@mujibur.inmind.com>

Show Full Headers
Complete Article Headers
Message-ID: <4sjs6e$ob0@olivea.ATC.Olivetti.Com>
Subject: Re: ihave enhancement
Date: Wed, 17 Jul 1996 00:00:00 +0000
From: jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre)
References: <4sie8l$hc0@mujibur.inmind.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-mail
X-Deja-AN: 168664296
Distribution: inet
Organization: Olivetti ATC; Cupertino, CA; USA
Newsgroups: news.software.nntp