Article View: news.software.nntp
Article #20941Re: posting and spam filtering
From: Jeff Garzik
Date: Mon, 25 Aug 1997 00:00
Date: Mon, 25 Aug 1997 00:00
43 lines
1830 bytes
1830 bytes
(cc'd to author) Christopher Sedore <cmsedore@maxwell.syr.edu> wrote: >I'm wondering if anyone has thought to write a perl or TCL script to do >spam filtering on posts. I know about the nnrpd mods, but I'm hoping >for something that can be cross-platform, and used (more or less) >universally by admins. INN's stock Perl filter works like this: nnrpd receives post calls internal (C) routines to check article calls external Perl function in filter_nnrpd.pl connects to localhost sends post to server as peer server opens peer news cxn receives article from localhost calls internal (C) routines to check article calls external Perl function in filter_innd.pl INN's Perl filter is very cross-platform, something intrinsic to Perl itself. There are no INN-specific calls or methods of usage in the article filtering that could not transparently be moved over to NNTPRelay or something else. INN simply calls Perl routine filter_art, which provides an associative array including the important article headers. Very portable methodology. Jeff -- "The algorithm to do that is extremely nasty. You might want to mug someone with it." -- M. Devine, Computer Science 340
Technical Details
Message-ID:
<5tt54q$98m$1@havoc.gtf.gatech.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.mbox.zip!not-for-mailReferences:
<4E86915F977FD0119BCD08002BE28C4B040E88@exchange.maxwell.syr.edu>Show Full Headers
Complete Article Headers
Message-ID: <5tt54q$98m$1@havoc.gtf.gatech.edu> Subject: Re: posting and spam filtering Date: Mon, 25 Aug 1997 00:00:00 +0000 From: Jeff Garzik <jgarzik@pobox.com> References: <4E86915F977FD0119BCD08002BE28C4B040E88@exchange.maxwell.syr.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.mbox.zip!not-for-mail X-Deja-AN: 268497448 Sender: hambone@havoc.gtf.gatech.edu Organization: Very Slack Newsgroups: news.software.nntp