πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90363

Re: Using innfeed to send a batch instead of innxmit?

#90363
From: Russ Allbery
Date: Tue, 16 May 2023 19:22
36 lines
2570 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> Hmm, I'm wondering whether innfeed really makes use of the <message-id>
> innd gives, apart for the IHAVE <message-id> exchange with the remote
> peer.  I've not tested but maybe you couldn't try a batch with:

> @token1@ <1@dumbid>
> @token2@ <2@dumbid>
> @token3@ <3@dumbid>

> where @tokenX@ are the tokens you want to send, followed with an
> arbitrary Message-ID (yet different for each token).  Are the 3 articles
> fed OK?

I haven't checked the source code, but I would expect innfeed to use the
message ID in the CHECK command to avoid reading the whole article from
disk in the (very common) case that the remote server declines the CHECK.

> If the remote server is INN, it won't mind receiving an article with a
> Message-ID different than the one in the NNTP command used to send it.

This remains true, of course.  You'll put a bunch of bogus message IDs in
the remote server's conflict cache, so it's not exactly the friendliest
thing to do, but for cooperating servers it might work.

That said, the message ID is also given on the TAKETHIS command line, and
I'm not sure if innfeed gets that from the article or the input batch.  If
from the input batch, a server would be entirely within its rights to
reject a message where the message ID on the TAKETHIS command line was
different than the message ID in the article.  (I'm not sure if any do.)

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87y1lo13ot.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com> <u40jee$ni4f$2@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <87y1lo13ot.fsf@hope.eyrie.org>
Subject: Re: Using innfeed to send a batch instead of innxmit?
Date: Tue, 16 May 2023 12:22:58 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com> <u40jee$ni4f$2@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: hope.eyrie.org; logging-data="3466"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:futs3mhIOgTs4x883kiFp5B4M5Q=