🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80023

Re: Cleanfeed Update

#80023
From: D. Stussy
Date: Mon, 12 Jan 2009 21:40
85 lines
3861 bytes
"Steve" <steve@mixmin.net> wrote in message
news:slrngmmp53.p4f.steve@news.mixmin.net...
> Hi all,
>
> Following some recent bug reports and minor updates I thought I'd
> announce a new Cleanfeed release.
>
> Changelog:
> * Modified spam_report_groups regex to catch groups ending in
>   \.spamtrap. (Reported by D.Stussy)
> * Added a $grpcnt variable to avoid using "scalar @groups" in so
many
>   places.
> * Add a check in bad_groups matching to ensure NULL cannot be
matched
>   where the bad_groups file doesn't exist. (Reported by D.Stussy)
> * Modified scoring behaviour for crossposting without Followup-To's.
> * Reduced negative scores for good Reference headers; inserting a
>   meaningless Reference header was becomming a spamming technique.
> * Add a new score for articles that contain a high percentage of
>   quoted lines.
>  Add a new score for excessively long signatures.
> * Corrected a bug in the drop_useless_controls section where the
>   reason wasn't returned with the reject.  (Reported by Julien
Ã?lie)
>
> For updating an existing install, please use:
> http://www.mixmin.net/cleanfeed/cleanfeed
>
> For new installations, download the complete tarball:
> http://www.mixmin.net/cleanfeed/cleanfeed.tar.gz
>
> Steve

Adding "meow_groups" to be config-appendable didn't seem to make it
into this update.

         if (%config_append) {
            foreach (qw(bin_allowed bad_bin md5exclude poison_groups
                    allexclude html_allowed mime_html_allowed
low_xpost_groups
                    test_groups no_cancel_groups baddomainpat
fsl_exclude
                    phl_exempt phl_exclude supersedes_exempt
meow_groups

^^^^^^^^^^^
I added it here in my copy of the script.

                    phn_exempt phr_exempt phn_exclude flood_groups
                    refuse_messageids net_abuse_groups
spam_report_groups
                    adult_groups not_adult_groups faq_groups
                    image_allowed image_extensions)) {
                if (defined $config_append{$_}) {
                    $config{$_} .= "|$config_append{$_}";
                    $config{$_} =~ s/\|\|/\|/g;
                }
                $config{$_} =~ s/^\|//;
                $config{$_} =~ s/\|$//;
            }
            undef %config_append;
        }


Here's what I have in my "cleanfeed.local" script:

sub local_filter_first {
        return reject("MI5 Spam")
                if $lch{subject} =~
/M.*I.*5.*P.*E.*R.*S.*E.*C.*U.*T.*I.*O.*N/i;
}

sub local_config {
        %config_local = (
                ... [various settings and pathnames] ...
        );
        %config_append = (
                meow_groups => '\.auk|\.kook|\.usenet\.legend',
        );
}

I hate massively over-crossposted nonsense.

Technical Details
Message-ID: <gkgdd9$uti$1@snarked.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.CARNet.hr!news.spin.it!news.snarked.org!not-for-mail
References: <slrngmmp53.p4f.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <gkgdd9$uti$1@snarked.org>
Subject: Re: Cleanfeed Update
Date: Mon, 12 Jan 2009 13:40:53 -0800
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <slrngmmp53.p4f.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.CARNet.hr!news.spin.it!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 85
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-211-175.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1231796457 31666 71.106.211.175 (12 Jan 2009 21:40:57 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Mon, 12 Jan 2009 21:40:57 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478