Article View: news.software.nntp
Article #58858Re: INN filter_nnrp.pl problem
From: Andrew Gierth
Date: Wed, 15 May 2002 13:58
Date: Wed, 15 May 2002 13:58
13 lines
1382 bytes
1382 bytes
>>>>> "Vincent" == Vincent <vifung@hotmail.com> writes:
Vincent> I don't know why the following statement is not work in my
Vincent> filter_nnrp.pl
Vincent> if ($hdr{"__BODY__"}) =~ /sex/){
In filter_nnrpd.pl you use the variable $body rather than $hdr{__BODY__}
to get at the body text.
--
Andrew.
Technical Details
Message-ID:
<878z6lqzrm.fsf@erlenstar.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!news-feed.riddles.org.uk!news-spur.riddles.org.uk!newsmonsterReferences:
<29d28b52.0205150253.480b8963@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <878z6lqzrm.fsf@erlenstar.demon.co.uk> Subject: Re: INN filter_nnrp.pl problem Date: Wed, 15 May 2002 13:58:05 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <29d28b52.0205150253.480b8963@posting.google.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!news-feed.riddles.org.uk!news-spur.riddles.org.uk!newsmonster Newsgroups: news.software.nntp Organization: disorganised Lines: 12 Cc: vifung@hotmail.com (Vincent) X-Mayan-Date: Long count = 12.19.9.4.5; tzolkin = 3 Chicchan; haab = 18 Uo X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-Attribution: AG X-P-Persistent-Headers: are a bad idea. X-Newsreader: Gnus v5.5/Emacs 20.2 X-Complaints-To: abuse@news-spur.riddles.org.uk X-Post-Filter: postfilter v0.6 alpha