🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65568

Re: INN: Filtering incoming and moving some elsewhere

#65568
From: Marcus Mönnig
Date: Fri, 30 May 2003 09:12
29 lines
2468 bytes
Thanks Greg and Russ.

On Fri, 30 May 2003 00:17:12 GMT, greg andruk wrote:

> Why a patch may be needed? In nnrpd/post.c, ValidNewsgroups() is
> called twice before HandleHeaders() happens.  This means that the
> server will reject newsgroups not in active before the nnrpd filter
> has a chance to make its changes.  
> Possible workarounds are to comment
> out the checks, move them to after the DO_PERL section, or leave the
> code alone and add the newsgroups of interest to active.

I want to do this for non-binary groups only anyway and I might come up with
additional groups that I don't want to include, so what if I simply keep my
active file up-to-date? 
As far as I understand, the articles that I am interested in would pass the
ValidNewsgroup test and by rewriting the Newsgroups header in nnrpd.pl they
would either end up in a local.something group or not be added at all. 
Does this sound like it will work?

Btw, since I'll only need a very simple nnrpd filter, so I don't care too
much which languages it's in it, what will generally run faster, perl,
python or tcl?

Marcus
-- 
Usenet: I came, I read, I unsubscribed
Technical Details
Message-ID: <1tgi40jvy2qnj.dlg@40tude.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <15f091scris06.dlg@40tude.com> <ylbrxl1jpi.fsf@windlord.stanford.edu> <m2of1lcmpm.fsf@meowing.net>

Show Full Headers
Complete Article Headers
Message-ID: <1tgi40jvy2qnj.dlg@40tude.com>
Subject: Re: INN: Filtering incoming and moving some elsewhere
Date: Fri, 30 May 2003 11:12:31 +0200
From: Marcus Mönnig <usenet-apr03@40tude.com>
References: <15f091scris06.dlg@40tude.com> <ylbrxl1jpi.fsf@windlord.stanford.edu> <m2of1lcmpm.fsf@meowing.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.nntp
Organization: T-Online
Lines: 28
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1054285966 07 23777 S-dbVhzVSGalC8 030530 09:12:46
X-Complaints-To: usenet-abuse@t-online.de
X-ID: VAy1ZqZZweSFntqdWWoPdcTsIzJdAkFCUPbntDnq4Owu9IzcYW+l4o
X-Face: .k.-$2:"SOnv`$+._5GWLVbo=\AYg!R'T#G[$P`Chd0T$NtF2}68aF}1gRDrxTQi']7Ldza n{+d:rTHS*nc<xt?o:zVx>3P$=`rx}:o1!BA'OmJn(lR=Y%mG{*T#D-B02=:Dh0138$V
User-Agent: 40tude_Dialog/2.0.5.56de (66459368.335.347)