🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1213

Re: new server

#1213
From: Julien ÉLIE
Date: Sat, 18 Dec 2021 21:57
54 lines
2760 bytes
Bonsoir Jean-Daniel,

>> I'm running PyClean on my news server, and it works pretty well:
>>     https://github.com/crooks/PyClean
> 
> in my openSUSE default install I have in the filter folder
> 
>  > ll
> total 68
> -rw-r--r-- 1 root news  6653  7 juin   2021 filter_innd.pl
> -rw-r--r-- 1 root news 12181  7 juin   2021 filter_innd.py
[...]

These are just samples to show what functions are available, but they do 
not contain any code for spam filtering.
You have to provide your own filter_innd.pl (Cleanfeed) or 
filter_innd.py (PyClean).


>   $Id: filter_innd.pl 9205 2011-06-13 15:08:31Z iulius $
> ##  $Id: filter_innd.py 10263 2018-03-10 14:51:53Z iulius
> 
> is it enough for a filter, Or do I have to replace them with PyClean?

% ls -la /home/news/bin/filter
lrwxrwxrwx 1 news news   30 20 sept. 10:08 filter_innd.pl -> 
/home/news/cleanfeed/cleanfeed*
lrwxrwxrwx 1 news news   29 20 sept. 12:14 filter_innd.py -> 
/home/news/pyclean/pyclean.py


% ls -la /home/news/cleanfeed
-rwxr-xr-x  1 news news  95K  4 déc.  12:49 cleanfeed*
drwxr-xr-x  2 news news 4,0K 21 nov.  10:24 etc/
drwxr-xr-x  2 news news 4,0K 20 sept. 09:50 logs/

% ls -la /home/news/pyclean
drwxr-xr-x  2 news news 4,0K 20 sept. 12:11 articles/
drwxr-xr-x  2 news news 4,0K 20 sept. 12:10 etc/
drwxr-xr-x  2 news news 4,0K 27 sept. 12:47 lib/
drwxr-xr-x  2 news news 4,0K 18 déc.  00:32 log/
-rw-r--r--  1 news news  66K 20 sept. 12:12 pyclean.py


One of them is enough.  (I'm just running both for testing purpose.)

You can see that cleanfeed is 95K and pyclean.py 66K, much more than the 
samples provided in a stock INN install.

-- 
Julien ÉLIE

« – Il l'aura voulu.
   – Tu crois vraiment ? » (Astérix)
Technical Details
Message-ID: <j273qpFe0nnU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <61bb79b0$0$20265$426a74cc@news.free.fr> <spg368$r4g$1@gioia.aioe.org> <j25ldqF5acjU1@mid.individual.net> <spki6g$n8d$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <j273qpFe0nnU1@mid.individual.net>
Subject: Re: new server
Date: Sat, 18 Dec 2021 22:57:44 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <61bb79b0$0$20265$426a74cc@news.free.fr> <spg368$r4g$1@gioia.aioe.org> <j25ldqF5acjU1@mid.individual.net> <spki6g$n8d$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.admin.peering
Lines: 54
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net LFoZDFwRFnVbc2ZLA/7YFQkjQrplmuUGy70BhLW461bY8i3is=
Cancel-Lock: sha1:yH4sFBijSKISjogDgaiZaTMVmQI=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.0
Content-Language: fr
In-Reply-To: <spki6g$n8d$1@dont-email.me>