Article View: news.software.nntp
Article #91000inn: both Perl and Python filtering at the same time
From: Adam W.
Date: Mon, 23 Oct 2023 23:41
Date: Mon, 23 Oct 2023 23:41
14 lines
1642 bytes
1642 bytes
Hi. I have cleanfeed running, and I'm generally happy with it. I'd like to add another rule to reject some articles (fed via newsfeeds, not posted by posters), but I don't know Perl well enough to write it. I know Python though. Is it possible to run both Perl (cleanfeed) and Python (my small script, yet to be written) filters together? What's the rule then? Both filters have to accept the article for it to be accepted by the server (so if at least one rejects it, it will be rejected)? I'd expect so, but I want to be sure before I start messing around...
Technical Details
Message-ID:
<uh70bm$hfd$1$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-mailShow Full Headers
Complete Article Headers
Message-ID: <uh70bm$hfd$1$arnold@news.chmurka.net>
Subject: inn: both Perl and Python filtering at the same time
Date: Mon, 23 Oct 2023 23:41:42 +0000
From: gof-cut-this-news@cut-this-chmurka.net.invalid (Adam W.)
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: news.chmurka.net
Nntp-Posting-Host: s.v.chmurka.net
Injection-Date: Mon, 23 Oct 2023 23:41:42 -0000 (UTC)
Injection-Info: news.chmurka.net; posting-account="arnold"; posting-host="s.v.chmurka.net:172.24.44.20"; logging-data="17901"; mail-complaints-to="abuse-news.(at).chmurka.net"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.32-v7+ (armv7l))
Cancel-Lock: sha1:UzjKpax3z9pjA+wCYaP6RB3JuCg= sha1:rlBvDccPXpXPsqCukMThNLCkUww= sha256:0Pf6Q+QVweWwgIyWqnAHvpaniE1xiBUhHLlJ1Oq0Bdk= sha1:qUFQq/eiQawc9Q8tmfRtKuNyed4= sha256:ACom+2HJP2uesyEGPRrVoJ9aNKexUPvef9wEYb9wIDw=