Article View: news.software.nntp
Article #69818empty article
From: Lawrence Lim
Date: Thu, 02 Sep 2004 09:11
Date: Thu, 02 Sep 2004 09:11
36 lines
1768 bytes
1768 bytes
I am putting a script in newsfeeds entry name output, and my output is a
perl script just to write anything that is pass to him, however I notice
that innd passes empty article to this script. I am using innd 2.4.1, my
previous innd-1.7.2 has no problem passing a complete artilce to the
script.
Below is my newsfeeds and perl file named output:
newsfeeds:
---------
ME\
:!*::
pcbase@jaring.my/news2.jaring.my\
:*,!control\
:Tm:output!
output:
------
#!/usr/bin/perl -d
$Log = '/var/log/news/article.log';
$now = `date +%H:%M:%S` ;
chop($now);
open (LOG, ">>$Log") ;
while (<>) {
print LOG "$now\n";
print LOG "$_";
}
close LOG
--lawrence
Technical Details
Message-ID:
<Pine.BSI.4.58.0409021704330.10855@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!feed6.newsreader.com!newsreader.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!news-out.octanews.net!petbe.visi.com!ash.uu.net!infeed.jaring.my!netop.jaring.my!lawrenceShow Full Headers
Complete Article Headers
Message-ID: <Pine.BSI.4.58.0409021704330.10855@netop.jaring.my> Subject: empty article Date: Thu, 2 Sep 2004 17:11:08 +0800 From: Lawrence Lim <lawrence@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!feed6.newsreader.com!newsreader.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!news-out.octanews.net!petbe.visi.com!ash.uu.net!infeed.jaring.my!netop.jaring.my!lawrence Newsgroups: news.software.nntp Organization: Unconfigured Lines: 36 NNTP-Posting-Host: netop.jaring.my Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news4.jaring.my 1094116271 7423 192.228.128.100 (2 Sep 2004 09:11:11 GMT) X-Complaints-To: usenet@news4.jaring.my NNTP-Posting-Date: 2 Sep 2004 09:11:11 GMT