Article View: news.software.nntp
Article #90415Re: inn filtering question (and cleanfeed problem?)
From: Marc SCHAEFER
Date: Thu, 08 Jun 2023 14:55
Date: Thu, 08 Jun 2023 14:55
37 lines
2879 bytes
2879 bytes
On Thu, 08 Jun 2023 16:27:32, Adam W. <gof-cut-this-news@cut-this-chmurka.net.invalid> wrote: > When is filter_innd.pl used? Is it used only for articles coming from On my installation, /etc/news/filters/filter_innd.pl calls /etc/news/cleanfeed/cleanfeed.local and is called for every article going through the server, I would think also for locally posted articles once they have passed through /etc/news/filters/filter_nnrpd.pl. > If it's the latter, then where in this picture filter_nnrpd.pl fits in? The main difference in my usage is that you can reject the article in a way that the news client sees it (e.g. for bad quoting, for example), and you can add headers or modify headers (I tend to modify Injection-Info and add/update Cancel-Lock, since I don't use an INN version which has internal support for it). /etc/news/filters/filter_innd.pl and cleanfeed are not allowed to modify articles (for good reasons). > What if both are enabled, and someone posts the article (via nnrpd)? > filter_nnrpd.pl is executed, but is filter_innd.pl executed also? I think so, but I am not sure 100%. > I have cleanfeed installed. filter_innd.pl is a symlink to cleanfeed. I > would expect cleanfeed to reject certain posts posted to my server via > nnrpd (for example, binary postings to non-binary groups), and I vaguely > remember that it worked this way, but now it doesn't happen. Server > happily accepts these posts. In /etc/news/cleanfeed/cleanfeed.local there are some toggles you can set to modify the behaviour. -- Attention: limitez le nombre de lignes de citation à l'essentiel, sinon je ne verrai pas votre réponse. Et si vous écrivez souvent des bobards, je ne vous lirai plus et je recommanderai (NoCeM) de ne plus vous lire.
Technical Details
Message-ID:
<u5sq5i$tf0$4@shakotay.alphanet.ch>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:
<u5sogj$ish$6$arnold@news.chmurka.net>Show Full Headers
Complete Article Headers
Message-ID: <u5sq5i$tf0$4@shakotay.alphanet.ch>
Subject: Re: inn filtering question (and cleanfeed problem?)
Date: Thu, 08 Jun 2023 14:55:46 +0000
From: Marc SCHAEFER <schaefer@alphanet.ch>
References: <u5sogj$ish$6$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: Posted through news.alphanet.ch
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 8 Jun 2023 14:55:46 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; logging-data="30176"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-23-amd64 (x86_64))
Cancel-Lock: sha256:38+DTqtrtJ2IUJYAOhVKgA9JJvCxFU0xiGIfi+VuCR4= sha256:8lxUI6j61Lw8w/sGMoOjqw+PULepp+mV4O1OO6NsTG4=