Article View: news.software.nntp
Article #80885Re: filter_nnrpd.pl (maybe a bug)
From: Julien ÉLIE
Date: Mon, 04 May 2009 21:07
Date: Mon, 04 May 2009 21:07
28 lines
2509 bytes
2509 bytes
Hi Paolo, > there're people, beginners, that install postfilter instead of cleanfeed, > cleanfeed instead of postfilter. This error is common because both scripts > need to be linked with a file in pathetc, filter_nnrpd.pl and filter_innd.pl > have got similar names and there're two other files in the same directory > that starts with "nnrpd_". > Neither innd nor nnrpd currently detect this error and it's hard for a > beginner to find it because the nnrpd or innd logs include only a generic > failure. I understand your suggestion. It implies a bit of reorganization (code, samples, build, upgrade, doc [and also docs outside INN]). Well, hmmm... In case you want to solve the issue you report, why not define in postfilter three dumb functions filter_art, filter_messageid and filter_mode which return '' and which also write a more helpful message to syslog? Another possibility would be to check whether these functions are defined when filter_nnrpd.pl is loaded; nnrpd would then log something useful in news.notice. Same thing for innd. Would it be fine? -- Julien ÉLIE « C'est la goutte d'eau qui fait déborder le vase et qui met le feu aux poudres. »
Technical Details
Message-ID:
<gtnlj6$l5c$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<gtm4q0$qtg$1@aioe.org> <gtne28$dtv$1@news.trigofacile.com> <gtnija$8ju$1@aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <gtnlj6$l5c$1@news.trigofacile.com> Subject: Re: filter_nnrpd.pl (maybe a bug) Date: Mon, 4 May 2009 23:07:29 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gtm4q0$qtg$1@aioe.org> <gtne28$dtv$1@news.trigofacile.com> <gtnija$8ju$1@aioe.org> 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!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 28 NNTP-Posting-Host: aaubervilliers-151-1-58-234.w83-112.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1241471398 21676 83.112.31.234 (4 May 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Mon, 4 May 2009 21:09:58 +0000 (UTC) In-Reply-To: <gtnija$8ju$1@aioe.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049