Article View: news.software.nntp
Article #27909Re: cancelling from the perl filter (was Spam Cancel Moratorium, where next?)
From: Jeff Garzik
Date: Thu, 30 Apr 1998 00:00
Date: Thu, 30 Apr 1998 00:00
22 lines
1527 bytes
1527 bytes
Brian Edmonds (bedmonds@cs.ubc.ca) wrote: : Chris Lewis <clewis@ferret.ocunix.on.ca> writes: : > Whenever the filter recognizes a spam, it could launch something to : > retroactively nuke anything in the file with the same MD5 signature. : What I'd really love is some way to do callbacks from the filter to innd : so I can just call whatever C function does the cancelling and feed it : the msgids to zap. That's pretty easy, just suck the information out of the Perl environment once filter_art() returns. Pore through the embedded Perl docs and XS stuff; it's not as yucky as it seems, once you get past the syntax. -- Jeff Garzik Typhoon, Cyclone, Diablo, and INN http://www.spinne.com/usenet/ News tuning and consulting
Technical Details
Message-ID:
<el121.5123$Fu5.4163157@news2.teleport.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!not-for-mailReferences:
<ErJo4q.50J@ferret.ocunix.on.ca> <5LQN0vArOdR1EADm@turnpike.com> <8rr11.14$n5.2561968@gazette.loc1.tandem.com> <6i5kmh$emd@bcarh8ab.bnr.ca> <37pvi0e6dt.fsf_-_@cascade.cs.ubc.ca>Show Full Headers
Complete Article Headers
Message-ID: <el121.5123$Fu5.4163157@news2.teleport.com> Subject: Re: cancelling from the perl filter (was Spam Cancel Moratorium, where next?) Date: Thu, 30 Apr 1998 00:00:00 +0000 From: jgarzik@normnet.org (Jeff Garzik) References: <ErJo4q.50J@ferret.ocunix.on.ca> <5LQN0vArOdR1EADm@turnpike.com> <8rr11.14$n5.2561968@gazette.loc1.tandem.com> <6i5kmh$emd@bcarh8ab.bnr.ca> <37pvi0e6dt.fsf_-_@cascade.cs.ubc.ca> 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: 349101316 NNTP-Posting-Date: Thu, 30 Apr 1998 09:07:38 PDT Newsgroups: news.software.nntp