🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69858

Re: innd 2.4.1 any different from 2.2.2

#69858
From: Russ Allbery
Date: Wed, 08 Sep 2004 02:50
41 lines
3551 bytes
Lawrence Lim <lawrence@jaring.my> writes:

> Thanks for the pointer on sm.  However my script output do not show any
> token at all.  Should I see a list of token for my output using my
> script or my newsfeeds feeding option to my script is wrong?

Hm.  Good point.  Actually, I may have misunderstood what you're doing; I
forgot how the * funnel feeds work.

Here's the relevant documentation:

    A program feed (Tp) spawns a given program for every article that the
    site receives.  The parameter field must be the command line to
    execute, and should contain one instance of %s, which will be replaced
    by the storage API token of the article (the actual article can be
    retrieved by the program using sm(8)).  The program will not receive
    anything on standard input (unlike earlier versions of INN, where the
    article is sent to the program on stdin), and standard output and
    error from the program will be set to the error log (pathlog/errlog).
    innd will try to avoid spawning a shell if the command has no shell
    meta-characters; this feature can be defeated if necessary for some
    reason by appending a semi-colon to the end of the command.  The full
    path name of the program to be run must be specified unless the
    command will be run by the shell (and it is strongly recommended that
    the full path name always be specified regardless).

    If a program feed is the target of a funnel, and if W* appears in the
    flags of the site, a single asterisk may be present in the parameter
    and will be replaced by a space-separated list of names of the sites
    feeding into the funnel which received the relevant article.  If the
    site is not the target of a funnel, or if the W* flag is not used, the
    asterisk has no special meaning.

So what is your program actually seeing as its input?  Is it getting
invoked at all?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <873c1ttqxz.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <Pine.BSI.4.58.0409061734050.23577@netop.jaring.my> <chhkc2$lkr$1@puck.litech.org> <Pine.BSI.4.58.0409071814150.17795@netop.jaring.my> <87vfep3kdq.fsf@windlord.stanford.edu> <Pine.BSI.4.58.0409080939060.19270@netop.jaring.my> <87brghv8j2.fsf@windlord.stanford.edu> <Pine.BSI.4.58.0409081034110.28295@netop.jaring.my>

Show Full Headers
Complete Article Headers
Message-ID: <873c1ttqxz.fsf@windlord.stanford.edu>
Subject: Re: innd 2.4.1 any different from 2.2.2
Date: Tue, 07 Sep 2004 19:50:00 -0700
From: Russ Allbery <rra@stanford.edu>
References: <Pine.BSI.4.58.0409061734050.23577@netop.jaring.my> <chhkc2$lkr$1@puck.litech.org> <Pine.BSI.4.58.0409071814150.17795@netop.jaring.my> <87vfep3kdq.fsf@windlord.stanford.edu> <Pine.BSI.4.58.0409080939060.19270@netop.jaring.my> <87brghv8j2.fsf@windlord.stanford.edu> <Pine.BSI.4.58.0409081034110.28295@netop.jaring.my>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 41
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1094611800 22911 171.64.19.147 (8 Sep 2004 02:50:00
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through
 Obscurity, linux)
Cancel-Lock: sha1:1jAi7pdp0fGocavNzReFHYuf9lw=