Article View: news.software.nntp
Article #90366Re: Using innfeed to send a batch instead of innxmit?
From: Jesse Rehmer
Date: Wed, 17 May 2023 03:21
Date: Wed, 17 May 2023 03:21
65 lines
3928 bytes
3928 bytes
On May 16, 2023 at 5:05:02 PM CDT, "Jesse Rehmer"
<jesse.rehmer@blueworldhosting.com> wrote:
> 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
I ended up using this to add bogus Message-IDs to the batch file:
awk '{print $0" <" NR "@1>"}' original-batch > innfeed-batch
This seems to be working great, moving around 95,000 articles every ten
minutes according to innfeed logs, but I'm seeing some low occurrence of the
following message in /var/log/news/news on the destination server:
(null) 439 Bad "Message-ID" header field
There are 101 occurrences of this error out of a few hundred thousand articles
fed. Should I be concerned about that, and is there any way for me to find out
which articles are problematic?
Source server is INN 2.7.0 and destination is 2.7.1. Besides difference in
overview method, the servers have a pretty identical configuration.
Technical Details
Message-ID:
<u41h7t$2lgm$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-mailReferences:
<u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <87y1lo13ot.fsf@hope.eyrie.org> <u40o3l$qmml$1@news.trigofacile.com> <u40ume$23la$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <u41h7t$2lgm$1@nnrp.usenet.blueworldhosting.com> Subject: Re: Using innfeed to send a batch instead of innxmit? Date: Wed, 17 May 2023 03:21:33 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <87y1lo13ot.fsf@hope.eyrie.org> <u40o3l$qmml$1@news.trigofacile.com> <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 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: Wed, 17 May 2023 03:21:33 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="87574"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:jHXYskpN0khtuTJuHvlVrFSqheQ= sha256:8lUmQ6c79hjFOwchmcDs1Q1Wanb7nsJUPUzRgrePh24= sha1:/BivmYQEbppT0ui93G3mozCodxw= sha256:oJFc0xtQ50NfqAP4GSZQV5zqDv059D3W3taIagr/hUc= X-Usenapp: v1.26.6/d - Full License Lines: 64