🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27888

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

#27888
From: Chris Lewis
Date: Wed, 29 Apr 1998 00:00
33 lines
1930 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.

That was my first cut... ;-)

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

If you remembered the messageids in-core, t'would be nice if the
filter could access the history file...

Mind you, the in-core messageid list would get humungous.
Use another dbm.

Not another dbm! ;-)

How about storing the MD5 hash in the history file as a pseudo group
reference?
-- 
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: <6i8868$vf@bcarh8ab.bnr.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: <6i8868$vf@bcarh8ab.bnr.ca>
Subject: Re: cancelling from the perl filter (was Spam Cancel Moratorium, where next?)
Date: Wed, 29 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: 348880139
Originator: clewis@nortel.ca (Chris Lewis)
Distribution: inet
Organization: Despams R Us
Newsgroups: news.software.nntp