🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27920

Re: cancelling from the perl filter (was Spam Cancel Moratorium, where next?)

#27920
From: Chris Lewis
Date: Thu, 30 Apr 1998 00:00
36 lines
2084 bytes
In article <37pvi0e6dt.fsf_-_@cascade.cs.ubc.ca>,
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.

>I can see in my head trivially how to implement this in my filter,
>except for the part about nuking.  At present all I can imagine is some
>hack involving logging msgids to a file and having a cron job deal with
>it externally.

Some ideas:

If this is a INN perl filter, access the history file (can you
do this inside a filter?), and there you go.

If the messageids are incore, but history is inaccessible, you could
call out to grephistory to find the file name[s], and nuke that way.

>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.

You may be able to do this with cleanfeed if you add in stubs in
the perl to advertise the C function interfaces.

[Oooh, perl dynamically linked into INN, doing call backs into INN.
Makes my head hurt. ;-)]
-- 
Chris Lewis, CyberSheriff (CBC says I am, so it must be true!)

For more information on spam, see http://spam.abuse.net/spam
Fight spam, support Rep. Chris Smith's TCPA extension: http://www.cauce.org

Technical Details
Message-ID: <Es913C.K1F@ferret.ocunix.on.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
References: <ErJo4q.50J@ferret.ocunix.on.ca> <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: <Es913C.K1F@ferret.ocunix.on.ca>
Subject: Re: cancelling from the perl filter (was Spam Cancel Moratorium, where next?)
Date: Thu, 30 Apr 1998 00:00:00 +0000
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
References: <ErJo4q.50J@ferret.ocunix.on.ca> <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: 349278814
Organization: eh?
Newsgroups: news.software.nntp