🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73745

Re: Cleanfeed installation

#73745
From: John F. Morse
Date: Sun, 25 Jun 2006 06:34
128 lines
5305 bytes
Iulius wrote:

> En réponse à John F. Morse :
>
>> I also edited cleanfeed.conf adding: 'active_file' => 
>> /var/lib/news/active, and commenting out the default 'active_file' => 
>> undef,
>>
>> I hope this was needed.
>
>
> It is only loaded once (when the filter is launched) and permits 
> Cleanfeed
> to know which groups are moderated.



Yes, I know. I was only pointing out the few changes I made to the 
generic defaults after the apt-get install.

However, I later discovered I had to enclose the path in quotes to avoid 
a syntax error. So now it is 'active_file' => '/var/lib/news/active',

I had created one moderated group for testing, and it was mailing the 
articles to me before the Cleanfeed install. This has nothing to do with 
Cleanfeed's failure to reject articles though.


>>> - the ownership and permissions are such that INN can read it
>>>   (so either owned by root.root and readable by others, owned by
>>>   root.news and readable by group, or owned by news.news)
>>>
>>
>> I changed it to root.root and 644.
>
>
> By the way, if I do a « inncheck -f -perms » within the standard Debian
> installation (wherein everything is root.root), it complains. Is it safe
> to leave root.root (though readable by news) for all thes files in 
> /etc/news ?



I checked all three of my INN installations, and I also get several 
screenfulls of error messages under Debian Sarge.

However, one server has been running online for the past nine months, 
and a second for around three months, both with no errors.

Thinking that maybe inncheck and/or innshellvars.pl were written for the 
"standard" INN installation paths, which don't match Debian, and also 
knowing I'm very ignorant in perl, I can't see any obvious errors.


>> Cleanfeed has not rejected any articles yet, and some of them have 
>> dirty words in the subjects. I see these words in the perl file.
>
>
> Where ? (I see some in « badguys » but it is not used for subjects.)



One place is filter_innd.pl where the badguys is used for domain 
checking, and a page or two beyond in the "some nifty regular 
expressions" area, and further down in the"from Ricardo's "FAQ"" area in 
($hdr{'Path'}, etc.

As I stated, since I don't know perl, I don't know if these instances 
are setting variables that are later used in routines to check the 
subject, or even the body or an article.


>> Maybe I need to check the cleanfeed.conf file to make sure something 
>> is not commented out?
>
>
> Do you have the scoring filter on ?
> The EMP_dump_file set ('/tmp/empdump' for me) and the do_md5, phl, 
> fsl... ?



I cannot find (grep) "EMP_dump_file" or anything mentioning dump_file in 
my generic default Cleanfeed install. Grepping "EMP" has no lines with 
any dump_file or dumpfile in them. Somehow I seem to remember reading 
something about this label a few days ago, but I cannot recall where I 
may have seen it. Where do you see this?

As for do_md5, phl, fsl -- yes, yes, yes. AFAIK, everything looks good 
in all of the configurations.


> block_html ?



No. I don't believe this has anything to do with header info, such as 
the subject. It would block messages containing html, but if it were on, 
then I should see some rejects.


> Isn't the newsgroup in question whitelisted ?



No. Several newsgroups appear to have dirty words in the subjects (name 
calling by flamers), etc.


>> Well, I'm not running a full feed, and won't, but with 1108 articles 
>> passing, you'd think there would be some rejects
>
>
> And now ? 



news@news7:/usr/lib/news/bin$ ctlinnd mode
Server running
Allowing remote connections
Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled
Perl filter stats: Pass: 1436  Reject:   MD5: 0  EMP: 0  MID: 0  SS: 0

-- 
John
Technical Details
Message-ID: <h8qng.58326$mF2.47765@bgtnsc04-news.ops.worldnet.att.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net> <e7gdjq$f5t$1@puck.litech.org> <fm%mg.240921$Fs1.228391@bgtnsc05-news.ops.worldnet.att.net> <e7kcl4$bp8$2@smilodon.ecp.fr>

Show Full Headers
Complete Article Headers
Message-ID: <h8qng.58326$mF2.47765@bgtnsc04-news.ops.worldnet.att.net>
Subject: Re: Cleanfeed installation
Date: Sun, 25 Jun 2006 06:34:53 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net> <e7gdjq$f5t$1@puck.litech.org> <fm%mg.240921$Fs1.228391@bgtnsc05-news.ops.worldnet.att.net> <e7kcl4$bp8$2@smilodon.ecp.fr>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <e7kcl4$bp8$2@smilodon.ecp.fr>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 128
NNTP-Posting-Host: 2724dec196cb1fb2f6b399e1ca456d17
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1151217293
NNTP-Posting-Date: Sun, 25 Jun 2006 06:34:53 GMT