Article View: news.software.nntp
Article #82255Re: Proposed Cleanfeed changes (vs. Release 271):
From: Steve Crook
Date: Mon, 30 Nov 2009 11:48
Date: Mon, 30 Nov 2009 11:48
48 lines
3029 bytes
3029 bytes
On Mon, 30 Nov 2009 03:02:09 -0000, Junior wrote in
Message-Id: <hevcjg$s4r$3@tioat.net>:
>> Changes:
>> 1) Print cleanfeed release number/date into statistics files.
Done. The version and date are now extracted from svn:keywords and
auto-inserted into $version and $version_date.
>> 2) Filter for politics groups need not consume one of the two local
>> topics.
I'm not sufficiently convinced that this is a good idea. I added the
topic filters to provide operators with a means to moderate their
services if they so choose, not as a global policy.
In its default form, Cleanfeed is a spam filter and whilst it has
functionality to do more, I think that should be left to the operators
discretion. Much of the functionality I've added recently has been
aimed at improving it's configurability at a local level which is why
many things (like topic filters) are turned off by default.
>> 3) Fix "Reply-To:" header check. ".invalid" TLD not valid for it.
This is reasonable but at the moment Cleanfeed uses the same filter for
From, Reply-To and Sender headers. Whilst foo@bar.invalid might be
abuse of a Reply-To header, it's quite correct in a From header. Is
there justification for implementing this by default when you could just
use a local entry like:
return reject("Invalid Reply-To")
if $hdr{'Reply-To'} =~ /\.invalid$/;
>> 4) Make message-ID checking case insensitive.
Done.
>> Default/sample "bad_from" file contents (targets RFC 2606 entries, common
>> syntax errors, and Microsoft TLD abuse):
>> ^@
>> @\.
>> @[^(, ]*\.\.
>> @[[:alnum:]]*@
>> @(.+\.)?test>?$
>> @.+\.phx\.gbl>?$
>> @(.+\.)?[0-9]*>?$
>> @(.+\.)?localhost>?$
>> @(.+\.)?localdomain>?$
>> @(.+\.)?example(\.[a-z]{3,})?>?$
This is a good example and I'll include it in the examples section. I
don't think it's a good default as RFC abuse of the From header doesn't
always imply spam. I suspect this would reject thousands of posts every
day that are legitimate in all other respects.
Technical Details
Message-ID:
<slrnhh7c7q.r6b.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!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.mixmin.net!not-for-mailReferences:
<hev2cb$bl9$1@snarked.org> <hevcjg$s4r$3@tioat.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnhh7c7q.r6b.steve@news.mixmin.net> Subject: Re: Proposed Cleanfeed changes (vs. Release 271): Date: Mon, 30 Nov 2009 11:48:10 +0000 From: Steve Crook <steve@mixmin.net> References: <hev2cb$bl9$1@snarked.org> <hevcjg$s4r$3@tioat.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!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.mixmin.net!not-for-mail Newsgroups: news.software.nntp Organization: Mixmin Lines: 48 NNTP-Posting-Host: ip6-localhost X-Trace: news.mixmin.net 1259581690 622 ::1 (30 Nov 2009 11:48:10 GMT) X-Complaints-To: abuse@mixmin.net NNTP-Posting-Date: Mon, 30 Nov 2009 11:48:10 +0000 (UTC) User-Agent: slrn/pre1.0.0-17 (Linux) X-Original-Bytes: 2820