Thread View: news.software.nntp
2 messages
2 total messages
Started by Johan Bengtsson
Wed, 22 Mar 2006 11:19
Cleanfeed 20020501 questions, known bugs, patches?
Author: Johan Bengtsson
Date: Wed, 22 Mar 2006 11:19
Date: Wed, 22 Mar 2006 11:19
17 lines
1754 bytes
1754 bytes
Hi, I'm running inn 2.4.2. and the 20020501 cleanfeed release on a small site. I have done very little modifications to 'cleanfeed.local', only just enough to get going. I have a few questions: 1. How do I check for false positives etc.? I've looked at the code and it seems I should probably be calling on 'saveart' in ''cleanfeed.local'. Any examples of doing that? I'm not very good at perl I'm afraid...;-) 2. Are there any patches and lists of known bugs in cleanfeed somewhere? Any new release in the works?:-) -Johan Bengtsson
Re: Cleanfeed 20020501 questions, known bugs, patches?
Author: Jeffrey M. Vinocur
Date: Thu, 23 Mar 2006 14:04
Date: Thu, 23 Mar 2006 14:04
40 lines
2409 bytes
2409 bytes
In article <dvrbsf$dn4$1@gide.ita.chalmers.se>,
Johan Bengtsson <elijah@mofit.chalmers.se> wrote:
>
>1. How do I check for false positives etc.? I've looked at the code and it
>seems I should probably be calling on 'saveart' in ''cleanfeed.local'.
Yup. I don't have the standard cleanfeed.local immediately
available to compare with, but here's something that I've been
using happily:
sub local_filter_reject {
my ($vr, $sr) = @_;
saveart('CF.local', $vr)
if $hdr{'Sender'} and $hdr{'Sender'} =~ /\.litech\.org /;
saveart('W.supersedes') if $vr =~ /^Excessive Supersedes/;
saveart('CF.scoring', $vr) if $vr =~ /^Scoring filter/;
saveart('CF.NewsAgent', $vr) if $vr =~ /^NewsAgent/;
saveart('CF.SEX', $vr) if $vr =~ /^Sex spam/ and $lines < 300;
saveart('Z.EMP', $vr) if $vr =~ /^EMP/;
saveart('badpath', $vr) if $vr =~ /^Bad path/;
saveart('CF.HTML', $vr) if $vr eq 'HTML post';
return @_;
}
Don't forget that these files will grow very large, so you'll
want to keep an eye on them so you don't fill up your disk.
>2. Are there any patches and lists of known bugs in cleanfeed somewhere?
>Any new release in the works?:-)
Not that I know of.
--
Jeffrey M. Vinocur
jeff@litech.org
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads