Article View: news.software.nntp
Article #91012Re: inn: both Perl and Python filtering at the same time
From: Ray Banana
Date: Tue, 24 Oct 2023 13:00
Date: Tue, 24 Oct 2023 13:00
29 lines
1920 bytes
1920 bytes
Thus spake gof-cut-this-news@cut-this-chmurka.net.invalid (Adam W.) > - move Newsgroups to X-Original-Newsgroups > - create new Newsgroups (to direct post to another group) > - maybe modify Subject (to add original group(s) name to it) You should not modify an article in filter_innd.pl Every time you modify a header in the filter, an innocent kitten dies somewhere ;-) > And then accept the article. > The goal is to have a local hierarchy where all these spams are posted, so > they can be reviewed (by me and by my users, if they want to). > > If it's not possible, then at least I'd like to save the article to a file > before rejecting it (and post-process and repost it later, in the same way > I did with NoCeM-cancelled posts). Is it possible from within a filter? In general, don't do too much processing inside the filter, as it may bring the INN daemon to a screeching halt, when the spam flood gets really heavy. Been there, done that, got little sleep. -- ΠΡΜΡΡΠ½ β Ρ ΡΠΉΠ»ΠΎΜ http://www.eternal-september.org
Technical Details
Message-ID:
<8mfs209nuh.fsf@raybanana.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<uh70bm$hfd$1$arnold@news.chmurka.net> <uh86d5$r6ru$1@news.trigofacile.com> <uh89ms$vah$3$arnold@news.chmurka.net>Show Full Headers
Complete Article Headers
Message-ID: <8mfs209nuh.fsf@raybanana.net> Subject: Re: inn: both Perl and Python filtering at the same time Date: Tue, 24 Oct 2023 15:00:54 +0200 From: Ray Banana <rayban@raybanana.net> References: <uh70bm$hfd$1$arnold@news.chmurka.net> <uh86d5$r6ru$1@news.trigofacile.com> <uh89ms$vah$3$arnold@news.chmurka.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: A noiseless patient spider Lines: 29 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Plonkenlights Cancel-Lock: sha1:mNR4ivo4LhAuImUT/f1mqvFcXjM= sha1:SDwFAzP1t3UANXuAAqLI4dwgEMk= X-Attribution: Ray Banana