πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90365

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

#90365
From: Jesse Rehmer
Date: Tue, 16 May 2023 22:05
45 lines
3044 bytes
On May 16, 2023 at 3:12:37 PM CDT, "Julien Γ‰LIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Russ,
> 
>>> 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.
> 
> I've just quickly had a look, and I do not see any parsing of headers.
> For CHECK, IHAVE and TAKETHIS, the Message-ID used is taken from
> artMsgId(article) where article->msgid has been set with newArticle()
> using the input from innd.
> 
> So this kludge may really work for Jesse.  I look forward to reading
> your results!

Indeed it does with a small test:

Batch file:

   @05000000940900000000001C496C00000000@ <1@dumbid>
   @0500000021AE0000000000020A2100000000@ <2@dumbid>
   @0500000002D8000000000006802500000000@ <3@dumbid>

Messages accepted on the remote server with actual Message-IDs:

   May 16 17:03:08.665 + news.blueworldhosting.com
<u3n1li$20fql$3@dont-email.me> 3641
   May 16 17:03:08.787 + news.blueworldhosting.com
<%RD7M.3041094$vBI8.1207177@fx15.iad> 2474
   May 16 17:03:08.791 + news.blueworldhosting.com
<ac766a8d-a700-4b72-80d4-6fd11376fe9dn@googlegroups.com> 6717
Technical Details
Message-ID: <u40ume$23la$1@nnrp.usenet.blueworldhosting.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
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com> <u40jee$ni4f$2@news.trigofacile.com> <87y1lo13ot.fsf@hope.eyrie.org> <u40o3l$qmml$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <u40ume$23la$1@nnrp.usenet.blueworldhosting.com>
Subject: Re: Using innfeed to send a batch instead of innxmit?
Date: Tue, 16 May 2023 22:05:02 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com> <u40jee$ni4f$2@news.trigofacile.com> <87y1lo13ot.fsf@hope.eyrie.org> <u40o3l$qmml$1@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: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 May 2023 22:05:02 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="69290"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:As9SvNVQ5cgneOzYpzXdrwannTY= sha256:eMtoP4WN5/BxJOWyMe7X8gZN+9wn9dHm/tbKHiV+vyQ= sha1:94ysHqrxQ5uO/drcTiQOTPBStS0= sha256:pPtx/cczaFvaq8B4NkvYgCYyIRHohhtiYNPubhaM8KY=
X-Usenapp: v1.26.6/d - Full License