πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84976

Re: Perl filter - attributes hash

#84976
From: Steve Crook
Date: Mon, 25 Jun 2012 12:16
14 lines
1685 bytes
On Thu, 21 Jun 2012 21:38:01 +0200, Julien Γ‰LIE wrote in
Message-Id: <jrvt6p$1lk$1@news.trigofacile.com>:

> Hi Steve,
>
>> If I'm reading nnrpd/perl.c correctly, it looks as though the attributes
>> hash is created for Perl Auth and Access functions.  Is there any reason
>> why the same hash cannot be created for filter_nnrpd.pl purposes?
>
> I think that adding %attributes to filter_nnrpd.pl would not be a 
> problem.  HandleHeaders() in nnrpd/perl.c could do the same thing as the 
> two other functions you mention.

Thanks Julien, it works!  :)
Technical Details
Message-ID: <slrnjuglko.dtg.steve@snorky.mixmin.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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED!not-for-mail
References: <slrnju68be.dtg.steve@snorky.mixmin.net> <jrvt6p$1lk$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnjuglko.dtg.steve@snorky.mixmin.net>
Subject: Re: Perl filter - attributes hash
Date: Mon, 25 Jun 2012 12:16:24 +0000
From: Steve Crook <steve@mixmin.net>
References: <slrnju68be.dtg.steve@snorky.mixmin.net> <jrvt6p$1lk$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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 25 Jun 2012 12:16:24 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="5b9uhq3pbnn88O1nJo9XPyTmJdY";
 logging-data="29496"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.0-40 (Linux)
Lines: 13
X-Original-Bytes: 1361