Article View: news.software.nntp
Article #28032Re: cancelling from the perl filter (was Spam Cancel Moratorium, where next?)
From: USENET news
Date: Wed, 06 May 1998 00:00
Date: Wed, 06 May 1998 00:00
30 lines
2121 bytes
2121 bytes
In article <87wwc7k69j.meow@fluffy.meow.org>, greg <greg@meow.org> wrote:
>clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
>
>> In article <37pvi0e6dt.fsf_-_@cascade.cs.ubc.ca>,
>> Brian Edmonds <bedmonds@cs.ubc.ca> wrote:
>> If you remembered the messageids in-core, t'would be nice if the
>> filter could access the history file...
>
>Has anyone been crazy enough to try using the DBZ_File module on
>history from within the perl filter?
Which flavour of DBZ file... given that the file format seems to have
evolved somewhat in recent INN versions (and patches). Or putting that
another way, I'd be worried about the filter's DBZ code getting not matching
whichever flavour INN was using, and causing mayhem in consequence. [I'm
similarly worried that I'll upgrade INN one day and forget to rebuild
C-NoCeM to use the latest-and-greatest (well, as used by INN, anyway) dbz.
Thinking about it now doesn't guarantee remembering it under pressure at a
critical moment...]
A Perl DBZ module which could recognise all the DBZ variants that have been
unleashed on the unwary world and handle them, and reliably recognise new
variants that it couldn't handle, would be very useful for miscellaneous
analysis and maintenance scripts, even if it couldn't be used within
filters. A non-trivial job though!
John Line
Technical Details
Message-ID:
<6iql0b$keb$1@lyra.csx.cam.ac.uk>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> <37pvi0e6dt.fsf_-_@cascade.cs.ubc.ca> <6i8868$vf@bcarh8ab.bnr.ca> <87wwc7k69j.meow@fluffy.meow.org>Show Full Headers
Complete Article Headers
Message-ID: <6iql0b$keb$1@lyra.csx.cam.ac.uk> Subject: Re: cancelling from the perl filter (was Spam Cancel Moratorium, where next?) Date: Wed, 06 May 1998 00:00:00 +0000 From: news@news.cam.ac.uk (USENET news) References: <ErJo4q.50J@ferret.ocunix.on.ca> <37pvi0e6dt.fsf_-_@cascade.cs.ubc.ca> <6i8868$vf@bcarh8ab.bnr.ca> <87wwc7k69j.meow@fluffy.meow.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.mbox.zip!not-for-mail X-Deja-AN: 350913629 Distribution: inet Organization: Computing Service, Cambridge University, England Newsgroups: news.software.nntp