🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83709

Re: docheckgroups et al

#83709
From: Julien ÉLIE
Date: Wed, 15 Dec 2010 19:41
56 lines
3594 bytes
Hi John,

> So a lot of rcp/scp copying and diff checking is required, including awk
> to remove the watermarks (awk '{print $1, $4}' active > active1-4.txt),
> then sorting because the real active file is not in order, all over ssh,
> plus any editing to eliminate duplicate groups.

These are delicate operations.  Do you also synchronize your overview
data to make it aware of the new newsgroups?


> What steps would you use if you wanted to add just the complete Big-8
> hierarchies to your server?

Take the last checkgroups of the hierarchy (in control.checkgroups)
and process it.
You could feed it to controlchan.  I think "controlchan /path/to/the/file"
works.  The file is the whole article (headers + body with checkgroups).

(Of course docheckgroups would work on the list of groups.)


> But see above where I mention actsync is difficult between two hosts
> when servers use SSL/TLS, password authentication (-A usually will not
> work), and ports other than 119 (which could be overcome with the colon).

Maybe you could try to wrap the call to actsync into stunnel?
(I have not tested.)


>>> Is there a difference between docheckgroups for INN 2.4.3, 2.4.5 and
>>> 2.5.2?
>>
>> Yes.  For instance the new "-u" flag.
>
> Of course, but I meant something like a patch, maybe it was
> innshellvars? I noticed a reference to that somewhere, which appeared to
> possibly be a prior fix you provided. But I can't find it now.

Do you mean that patch?
    http://inn.eyrie.org/trac/changeset/8320/trunk/scripts/innshellvars.in

      Export a "C" value for LC_CTYPE so as to treat all input
      as a stream of bytes in our scripts.
      Problems are for instance triggered off by docheckgroups on
      UTF-8 systems when it receives a ISO-8859-15 checkgroups
      control message: sed regexps do not match what they should.


Take care, with the very cold weather you have at your side,

-- 
Julien ÉLIE

« En vérité, le chemin importe peu, la volonté d'arriver suffit à tout. » 
Technical Details
Message-ID: <ieb5km$f3l$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!feeder.ecngs.de!ecngs!feeder2.ecngs.de!78.46.240.70.MISMATCH!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-1-191.w83-114.abo.wanadoo.fr!not-for-mail
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ie8fp1$ep3$1@news.trigofacile.com> <ie9aic$qd8$1@n102.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <ieb5km$f3l$1@news.trigofacile.com>
Subject: Re: docheckgroups et al
Date: Wed, 15 Dec 2010 20:41:39 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ie8fp1$ep3$1@news.trigofacile.com> <ie9aic$qd8$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!feeder.ecngs.de!ecngs!feeder2.ecngs.de!78.46.240.70.MISMATCH!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-1-191.w83-114.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 56
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 15 Dec 2010 19:41:10 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="aaubervilliers-151-1-1-191.w83-114.abo.wanadoo.fr:83.114.0.191";
 logging-data="15477"; mail-complaints-to="abuse@trigofacile.com"
In-Reply-To: <ie9aic$qd8$1@n102.xanadu-bbs.net>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18197
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18263