Article View: news.software.nntp
Article #69855Re: innd 2.4.1 any different from 2.2.2
From: Lawrence Lim
Date: Wed, 08 Sep 2004 01:42
Date: Wed, 08 Sep 2004 01:42
61 lines
2552 bytes
2552 bytes
Sorry for giving insufficient info, here I am giving all the info that is
needed:
newsfeeds:
---------
ME\
:!*::
pcbase@jaring.my/news2.jaring.my\
:*,!control\
:Tm:output!
output!\
:!*\
:W*,Tp:/var/news/bin/output *
output:
------
#!/usr/bin/perl -d
$Log = '/var/log/news/article.log';
$now = `date +%H:%M:%S` ;
chop($now);
open (LOG, ">>$Log") ;
print LOG "$now\n";
while (<>) {
print LOG "$_";
}
close LOG
--lawrence
On Tue, 7 Sep 2004, Russ Allbery wrote:
> Lawrence Lim <lawrence@jaring.my> writes:
>
> > The input is any article except ctrl msg that innd pass to
> > /var/news/newsfeeds as in this syntax:
> > :*,!control\
>
> > Meaning that if innd get a new article in news.software.nntp, my script
> > would juz write it to /var/log/news/article.log Thats all that I wanted.
>
> > The script works on inn-2.2.2 but not innd-2.4.1!
>
> Tm doesn't actually do anything at all except feed into another funnel
> feed defined in newsfeeds, which you haven't shown us. I don't think we
> have enough information to answer your question; you need to show us what
> the definition of the output! feed is.
>
> --
> 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:
<Pine.BSI.4.58.0409080939060.19270@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!nntp.giganews.com!wns13feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!nntp.abs.net!ash.uu.net!infeed.jaring.my!netop.jaring.my!lawrenceReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSI.4.58.0409080939060.19270@netop.jaring.my> Subject: Re: innd 2.4.1 any different from 2.2.2 Date: Wed, 8 Sep 2004 09:42:01 +0800 From: Lawrence Lim <lawrence@jaring.my> 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> 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!nntp.giganews.com!wns13feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!nntp.abs.net!ash.uu.net!infeed.jaring.my!netop.jaring.my!lawrence Newsgroups: news.software.nntp Organization: Unconfigured Lines: 61 NNTP-Posting-Host: netop.jaring.my Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: Russ Allbery <rra@stanford.edu> In-Reply-To: <87vfep3kdq.fsf@windlord.stanford.edu>