πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90394

Re: Historical articles and longest retention.

#90394
From: Retro Guy
Date: Fri, 02 Jun 2023 22:43
42 lines
2945 bytes
Retro Guy wrote:

> Julien_Γ‰LIE wrote:


>> Hi Retro Guy,

>>> One thing that would really make a difference is not needing to create the
>>> groups by hand. Is it possible for inn2 to create groups on demand? That 
>>> would make all the difference.

>> No, it does not create groups on-the-fly.
>> Note that the logtrash parameter in inn.conf can be used to have a list 
>> of newsgroups not present on the server but which received an attempt of 
>> post.

>> As you're parsing all the articles before feeding them, why not parse 
>> the Newsgroups header field and create a list of newsgroups you then 
>> make unique and run "ctlinnd newgroup xxx" on all of them? (INN will 
>> then create missing newsgroups)

> That's an excellent idea. My brain was getting bit weak trying to come up
> with a plan. That's when you miss the obvious :)

Much better! Thanks to Julien's brain (better than mine), I got the groups
created in about 15 minutes of work (including writing the script to extract
the group names and split the multiple groups in a line).

Also, thanks to wed for providing a simple bash script to create groups:

#/bin/bash
for WORD in `cat ./newsgroups.txt`
do
   echo $WORD
   ctlinnd newgroup $WORD
done
echo "Done."

from: https://news.novabbs.org/rocksolid/article-flat.php?id=162&group=rocksolid.shared.linux#162

-- 
Retro Guy
Technical Details
Message-ID: <5abc6ca12204626bb4f1bc871e5e3e29@rocksolidbbs.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: <u3rlen$2nvcc$1@dont-email.me> <4NzXdKS8lFiC65I9j@bongo-ra.co> <c4db4cd6e81e8d13c68c2aacd83cb130@news.novabbs.org> <u5dfr0$saq6$1@news.trigofacile.com> <u5difg$285f$1@nnrp.usenet.blueworldhosting.com> <u5dj9c$saq7$2@news.trigofacile.com> <12dfb66284e05389d7011686da09e4ff@news.novabbs.org> <u5dnmc$saq6$6@news.trigofacile.com> <c3670b95c1461ac97df4f0a71f3879c8@news.novabbs.org>

Show Full Headers
Complete Article Headers
Message-ID: <5abc6ca12204626bb4f1bc871e5e3e29@rocksolidbbs.com>
Subject: Re: Historical articles and longest retention.
Date: Fri, 2 Jun 2023 22:43:20 +0000
From: retro.guy@rocksolidbbs.com (Retro Guy)
References: <u3rlen$2nvcc$1@dont-email.me> <4NzXdKS8lFiC65I9j@bongo-ra.co> <c4db4cd6e81e8d13c68c2aacd83cb130@news.novabbs.org> <u5dfr0$saq6$1@news.trigofacile.com> <u5difg$285f$1@nnrp.usenet.blueworldhosting.com> <u5dj9c$saq7$2@news.trigofacile.com> <12dfb66284e05389d7011686da09e4ff@news.novabbs.org> <u5dnmc$saq6$6@news.trigofacile.com> <c3670b95c1461ac97df4f0a71f3879c8@news.novabbs.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
Newsgroups: news.software.nntp
Organization: RetroBBS
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; logging-data="2887752"; mail-complaints-to="usenet@i2pn2.org"; posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.3
X-Rslight-Site: $2y$10$dGgh/UPZ/r4.NOsGzVvicO3CdvsnKnoh/KHk8Ez1nqlwBMGJWaiom
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf ?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B H0=hZt'[%)4kG|