Article View: news.software.nntp
Article #81998Cleanfeed Update
From: Steve Crook
Date: Tue, 13 Oct 2009 13:42
Date: Tue, 13 Oct 2009 13:42
73 lines
4185 bytes
4185 bytes
Hi all,
It's been about 3 months since the last Cleanfeed release and in the
intervening period, there have been a few bug fixes, feature additions
and scoring tweaks. This morning I have prepared a new release (r271)
and it is now available for download from the usual URLs:
The individual Cleanfeed file can be downloaded from:
http://www.mixmin.net/cleanfeed/cleanfeed
http://www.mixmin.net/cleanfeed/cleanfeed.asc (PGP Detached Signature)
A complete tarball for new installations is at:
http://www.mixmin.net/cleanfeed/cleanfeed.tar.gz
A diff against the last formal release (20020501):
http://www.mixmin.net/cleanfeed/cleanfeed.diff
A number of these updates have no effect on the default behaviour of
Cleanfeed. In some cases they just set flags that are of use in
creating local filters. Other changes, such as the ratio based scorings
are disabled by default but I'd be very pleased to receive feedback from
anyone who cares to try them.
Place the following entries in local_filter_reject to log rejected
articles:
saveart('capratio', $vr) if $vr =~ /^Scoring/ and $score =~ /CapRat/;
saveart('urlratio', $vr) if $vr =~ /^Scoring/ and $score =~ /UrlRat/;
saveart('symratio', $vr) if $vr =~ /^Scoring/ and $score =~ /SymRat/;
Two new functions are now read from cleanfeed.local, these are:
local_flag_localfeed
local_flag_spamsource
If these don't exist, there will be no change in Cleanfeed behaviour.
Changelog:
* New topic filtering to prevent meow style crosspost filtering to
off-topic groups. By default, no groups are defined. See
topic1_groups, topic2_groups and off_topic_maxgroups.
Suggested by D. Stussy.
* New ratio based scoring filters, (disabled by default). These enhance
the traditional scoring filters by adding weight to URL, Symbol and
Caps ratios of content. See do_ratio_scoring and ratio_exclude.
* Added a localhier flag to $gr. This will be set True if all the
groups in a distro match '^local\.'. It's not currently used anywhere
within Cleanfeed itself but can be useful for cleanfeed.local recipes.
* Read a new function, local_flag_localfeed from cleanfeed.local. The
role of this function is to enable the operator to define a set of
rules that identify the posting as originating locally. In this
context, locally implies, within the sphere of that operator's
environment. If the function returns True, a global flag, $localfeed is
set to True. Currently unused within Cleanfeed.
* Read a new function, local_flag_spamsource. This function should
return True if the operator considers the source of the message to be
spam friendly. This in turn will set a a global flag, $spamsource.
Matching articles will have their scores weighted depending on URL
content and whether there's a References header.
Hardcoding a couple of sources would have been very easy, but no doubt
controversial. If anyone would like example entries, please ask. :)
* Resolved some bugs with HTML/MIME handling. Also add better
granularity for dealing with HTML with embedded <img> tags.
See block_html_img.
* Added support for a bad_from file. This checks against Reply-To,
Sender and From headers. Requested by D. Stussy.
* Tweaked various scoring filters and associated regexs. Too many to
document here, please review source and diff files.
Technical Details
Message-ID:
<slrnhd90uh.5p7.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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrnhd90uh.5p7.steve@news.mixmin.net> Subject: Cleanfeed Update Date: Tue, 13 Oct 2009 13:42:41 +0000 From: Steve Crook <steve@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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!not-for-mail Newsgroups: news.software.nntp Organization: Mixmin Lines: 73 NNTP-Posting-Host: b421ff0445b5e915dcbceaec1788b827 X-Complaints-To: abuse@mixmin.net NNTP-Posting-Date: Tue, 13 Oct 2009 13:42:41 +0000 (UTC) User-Agent: slrn/pre1.0.0-15 (Linux)