Article View: news.software.nntp
Article #91123How to configure cleanfeed.local to de-peer google-groups?
From: Don
Date: Sat, 25 Nov 2023 17:52
Date: Sat, 25 Nov 2023 17:52
50 lines
2157 bytes
2157 bytes
suck feeds my private, in-house, newserver.
cleanfeed's installed using software downloaded from:
<https://github.com/crooks/cleanfeed>
spamassassin is not deployed at present.
Path: is unusable as a cleanfeed filter because in my case it always
contains:
Path: meow.home.net!not-for mail
On the other hand, Injection-Info indeed identifies google-groups:
Injection-Info: google-groups.googlegroups.com; posting-host= ...
cleanfeed.local was copied from cleanfeed.local.sample and this snippet
was added:
sub local_filter_last {
if ($hdr{Injection-Info} =~ /google-groups\.google\.com/) {
return reject("Reject google-groups posting to $hdr{Newsgroups}");
};
Can anyone offer any ideas as to why it won't work? Given how the very
next "recipe" in cleanfeed.local does indeed work:
if (not $hdr{References} and
$hdr{__LINES__} > 25 and
$hdr{__LINES__} < 150 and
scalar @groups > 4 and
scalar @followups > 4) {
if ($hdr{__BODY__} =~ /MI5/ or
$hdr{Subject} =~ /M.{1,3}I.{1,3}5/) {
saveart('mi5');
return reject('MI5 Filter');
};
};
it indicates a "healthy" cleanfeed install.
Thank you in advance for any advice.
Danke,
--
Don, KB7RPU, https://www.qsl.net/kb7rpu
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.
Technical Details
Message-ID:
<20231125a@crcomp.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: <20231125a@crcomp.net> Subject: How to configure cleanfeed.local to de-peer google-groups? Date: Sat, 25 Nov 2023 17:52:34 +0000 From: "Don" <g@crcomp.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: 51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 25 Nov 2023 17:52:34 -0000 (UTC) Cancel-Lock: sha1:LrR920cL7qlth5hXF7rajzGdK/A=