Article View: news.software.nntp
Article #80336Re: Can Cleanfeed filter on a specific user?
From: John F. Morse
Date: Tue, 10 Mar 2009 15:17
Date: Tue, 10 Mar 2009 15:17
61 lines
3856 bytes
3856 bytes
Steve wrote: > On Mon, 09 Mar 2009 12:54:07 -0500, John F. Morse wrote in > Message-Id: <gp3l3v$lob$1@optima7.xanadu-bbs.net>: > >> Steve, >> >> The above is how I edited the file to test if that was the cause of the >> news.notice error, and it apparently was. I didn't see any error message >> in news.notice: >> > > Apologies John, you're correct. I missed a curly bracket in my example. > As a sidenote, it's always worth doing a syntax check on cleanfeed.local > before reloading your perl filters:- > perl -wc cleanfeed.local > No problem, Steve. It was a needed learning experience for me. I was lucky I was able to find the solution by comparing to other areas in the files. This is the command I was trying to remember yesterday. I found it on the http://www.mixmin.net/cleanfeed/install.html page last night. I ran it, and the two Perl scripts do verify, despite several single use errors, like these: john@news:/etc/news/filter$ perl -wc cleanfeed.local Name "main::LocalPosts" used only once: possible typo at cleanfeed.local line 81. Name "main::Moderated" used only once: possible typo at cleanfeed.local line 87. Name "main::followups" used only once: possible typo at cleanfeed.local line 87. Name "main::now" used only once: possible typo at cleanfeed.local line 87. cleanfeed.local syntax OK john@news:/etc/news/filter$ perl -wc filter_innd.pl Useless use of a variable in void context at filter_innd.pl line 16. Useless use of a constant in void context at filter_innd.pl line 16. filter_innd.pl syntax OK I don't think these errors are important though. I remember reading something a long time ago to just ignore them. But whether it was for Cleanfeed or INN I cannot remember. ;-) The big problem, as I see it Steve, is INN is so stable that it tends to run for many months or years without needing any administration (beyond adding users with htpasswd). This causes a slow loss of memory on how to maintain the software due to no "refresher" activity for the old brain. ;-) -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID:
<gp609s$8t8$1@optima7.xanadu-bbs.net>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!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!nntp.club.cc.cmu.edu!74.222.216.191.MISMATCH!optima7.xanadu-bbs.net!not-for-mailReferences:
<gou9pu$a8c$1@optima7.xanadu-bbs.net> <80ocwdgpxd.fsf@banana.shacknet.nu> <gp3fbd$k29$1@optima7.xanadu-bbs.net> <slrngrahju.6et.steve@news.mixmin.net> <gp3jhm$l97$1@optima7.xanadu-bbs.net> <gp3l3v$lob$1@optima7.xanadu-bbs.net> <slrngrcd0f.6et.steve@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <gp609s$8t8$1@optima7.xanadu-bbs.net> Subject: Re: Can Cleanfeed filter on a specific user? Date: Tue, 10 Mar 2009 10:17:16 -0500 From: "John F. Morse" <xanadu.bbs@example.invalid> References: <gou9pu$a8c$1@optima7.xanadu-bbs.net> <80ocwdgpxd.fsf@banana.shacknet.nu> <gp3fbd$k29$1@optima7.xanadu-bbs.net> <slrngrahju.6et.steve@news.mixmin.net> <gp3jhm$l97$1@optima7.xanadu-bbs.net> <gp3l3v$lob$1@optima7.xanadu-bbs.net> <slrngrcd0f.6et.steve@news.mixmin.net> 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!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!nntp.club.cc.cmu.edu!74.222.216.191.MISMATCH!optima7.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 61 Reply-To: dont.bother NNTP-Posting-Host: n100.xanadu-bbs.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: optima7.xanadu-bbs.net 1236698236 9128 192.168.89.210 (10 Mar 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Tue, 10 Mar 2009 15:17:16 +0000 (UTC) User-Agent: Thunderbird 2.0.0.19 (X11/20090105) In-Reply-To: <slrngrcd0f.6et.steve@news.mixmin.net> X-Original-Bytes: 3595