🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49808

Re: Perl filters and POSTS

#49808
From: A poorly-installed Meowbot
Date: Fri, 12 Jan 2001 01:34
32 lines
2605 bytes
Mark W Modrall <modrall@world.std.com> wrote:

> 	I'm trying to enable perl filtering with INN but currently
> the only way INN is getting feeds is through POST from another
> server (Dnews)...

Yucko.  Can you arrange for the DNEWS server to send you a real
newsfeed?  POST alters/loses lots of useful headers, so you really
want to avoid that sort of feeding.

>  It seems to imply a couple of places that INN
> filters will only catch IHAVE and TAKETHIS; how would I catch posts?

In INN, POST is really just a front end to IHAVE, so you really are
getting that stuff (I assume you're interested in using message ID
patterns if that came up).

If the filter won't run, you'll need to look elsewhere
(configure/compilation options, inn.conf settings etc.)  Make sure
that ctlinnd mode shows that the filter is enabled, as errors in the
filter will tend to cause it to turn off.

Oh yes, and remember to meow when you type in your ctlinnd commands,
it puts the server in a better frame of mind and makes it more
cooperative.

One big problem with getting news via POST instead of IHAVE/TAKETHIS
is that you lose much of the useful information for filtering, like
NNTP-Posting-Host and X-Trace.  Actually, since it will all instead
look like it was posted from one place, you risk filtering a bunch of
stuff you wanted to keep.
Technical Details
Message-ID: <87hf351rk4.fsf@slip-32-100-243-195.ma.us.prserv.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!supernews.google.com!sn-xit-02!supernews.com!216.218.236.179.MISMATCH!news!news.he.net!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!feed.textport.net!logbridge.uoregon.edu!newsfeed.us.ibm.net!ibm.net!news3.prserv.net!32.100.244.192
References: <G70JEM.Fup@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <87hf351rk4.fsf@slip-32-100-243-195.ma.us.prserv.net>
Subject: Re: Perl filters and POSTS
Date: Fri, 12 Jan 2001 01:34:51 +0000
From: A poorly-installed Meowbot <meowbot@meowing.net>
References: <G70JEM.Fup@world.std.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!supernews.google.com!sn-xit-02!supernews.com!216.218.236.179.MISMATCH!news!news.he.net!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!feed.textport.net!logbridge.uoregon.edu!newsfeed.us.ibm.net!ibm.net!news3.prserv.net!32.100.244.192
Newsgroups: news.software.nntp
Distribution: na
Mail-Copies-To: nobody
X-Meow: Wouf
X-Face: #!n`o'kqzEiF(\CL4IR$H.F-||!S*5wv~g8~prn}Z<+F/-^?oJ:#_V#QP?G}!!yayV0]i\'
 GTb6:]Tic*!vjH}wm>ILhZBn8U0XEjh'l~yrjB?4Iiph5N9:kwqd/}86UTr9i|LCu]Bd)~G1R9U(qJ
 KOyEQK8*?
Organization: They
Lines: 31
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 32.100.244.192
X-Trace: 12 Jan 2001 01:33:03 GMT, 32.100.244.192
X-Complaints-To: abuse@prserv.net