๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76037

Re: Approving articles with nnrpd filters

#76037
From: Jeffrey M. Vinocur
Date: Fri, 20 Apr 2007 09:22
19 lines
1765 bytes
In article <f09nkc$u42$1@guepard.ecp.fr>,
Iulius  <iulius@nom-de-mon-site.com.invalid> wrote:
>
>All right.  But ยซ modgroup ยป is the flag in the active file, isn't it?
>In nnrpd/post.c, you have:
>(line 448) /* Approved; left alone. */
>
>Perhaps it would be possible to do something here, before it the article
>is passed to innd/art.c where it is rejected:

That's not a useful place -- you don't know there whether the
perl filter is going to add an Approved header.  If you wanted to
fix this, you'd have to put it within the DO_PERL block (to check
again if there's an Approved header and free modgroup if so).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <f0a0or$ql5$1@puck.litech.org>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news.litech.org!not-for-mail
References: <f08f5n$8f8$1@guepard.ecp.fr> <f093am$l0s$1@puck.litech.org> <f09nkc$u42$1@guepard.ecp.fr>

Show Full Headers
Complete Article Headers
Message-ID: <f0a0or$ql5$1@puck.litech.org>
Subject: Re: Approving articles with nnrpd filters
Date: Fri, 20 Apr 2007 09:22:35 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <f08f5n$8f8$1@guepard.ecp.fr> <f093am$l0s$1@puck.litech.org> <f09nkc$u42$1@guepard.ecp.fr>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 19
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1177060955 27301 66.218.0.75 (20 Apr 2007 09:22:35
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Fri, 20 Apr 2007 09:22:35 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)