πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1664

Re: Renumber newsgroups by post date

#1664
From: Eli
Date: Fri, 05 May 2023 21:10
42 lines
2564 bytes
On 5 May 2023 at 22:58:59 CEST, "Eli" <eliistheman@gmail.com> wrote:

> On 5 May 2023 at 21:37:05 CEST, "Julien Γ‰LIE"
> <iulius@nom-de-mon-site.com.invalid> wrote:
> 
>> I'm wondering whether you could just:
>> 
>> - Download all the articles with "pullnews -r" (it will write a file
>> with all the articles within).  You may run several instances of
>> pullnews to have several files.
>> 
>> - Parse the articles within these files (they are separated with "#!
>> rnews <size>" lines) to take the dates and write the articles in a new
>> batch file, ordered by posting date.
>> 
>> - Inject these batch files into innd (with rnews).  No need to change
>> any Xref header fields.  The articles will be treated in order, assigned
>> new Xref, and you'll have article numbers and history file sorted as you
>> want.
> 
> Hi Julien,
> 
> I let pullnews -r exporting about 4000 articles to the batch file named
> 'rnews01.batch'.
> The articles in the batch file are complete, saying headers and bodies, each
> separated with '#! rnews <bytes>'
> 
> Then I used 'rnews -v rnews01.batch'
> But unfortunately INN doesn't accept the articles.
> 
> Each article is refushed with the error:
> "rnews01.batch: rejected 437 No body [Path: not-for-mail ...]"
> 
> Any suggestion?

I see something strange in the news log.
For each of the above articles it says:
"May  5 22:36:04.708 - not-for-mail <msg-id>^M 437 No body"

Note the '^M'. It seems it doesn't seem to understand this newline character?
The 'rnews01.batch' file contains these '^M' characters at the end of each
line.
Technical Details
Message-ID: <ihe5M.5661321$vSy3.4148856@fx04.ams4>
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: <7Qb1M.3786652$nwq3.3523857@fx13.ams4> <u33go3$193a$1@news.trigofacile.com> <48c5M.5661290$vSy3.1679257@fx04.ams4> <u33lt2$1c60$3@news.trigofacile.com> <n6e5M.4177960$nwq3.2419823@fx13.ams4>

Show Full Headers
Complete Article Headers
Message-ID: <ihe5M.5661321$vSy3.4148856@fx04.ams4>
Subject: Re: Renumber newsgroups by post date
Date: Fri, 05 May 2023 21:10:38 GMT
From: Eli <eliistheman@gmail.com>
References: <7Qb1M.3786652$nwq3.3523857@fx13.ams4> <u33go3$193a$1@news.trigofacile.com> <48c5M.5661290$vSy3.1679257@fx04.ams4> <u33lt2$1c60$3@news.trigofacile.com> <n6e5M.4177960$nwq3.2419823@fx13.ams4>
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.admin.peering
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
User-Agent: Usenapp for MacOS
X-Usenapp: v1.26.6/l - Full License
Lines: 42
X-Complaints-To: abuse@eweka.nl
Nntp-Posting-Date: Fri, 05 May 2023 21:10:38 UTC
Organization: Eweka Internet Services
X-Original-Bytes: 2332