🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #174756

Re: using SpamAssassin for filtering the Usenet articles?

#174756
From: Whiskers
Date: Wed, 05 Oct 2005 15:33
52 lines
3469 bytes
On 2005-10-05, Troy Piggins <usenet-0510@piggo.com> wrote:
> ["Followup-To:" header set to news.software.readers.]
> * Whiskers wrote:
>> On 2005-10-04, totojepast@razdva.cz <totojepast@razdva.cz> wrote:
>>> I would like to start some tiny caching server for NNTP, but I would
>>> like to integrate SpamAssassin checking for every cached newsgroup
>>> post. Is there any patch/plugin available?
>>
>> I don't know if "SpamAssassin" can be used with news-servers, but
>> "Cleanfeed" is built for the purpose
>><http://www.exit109.com/~jeremy/news/antispam.html>.
>>
>> If this server is for your own use only, it may be better simply to
>> use an up-stream news-server that already operates Cleanfeed or some
>> other means of removing spam etc.
>>
>> As a local caching proxy NNTP server, I use "Leafnode" (Linux/Unix).
>> "Hamster" is an excellent Windows program.  (I'm not interested in
>> "binary" groups).
>
> Had a look at that cleanfeed website, it says it's a perl filter and
> what news servers it can run on.  Doesn't mention slrnpull, or leafnode
> for that matter.  Anyone know if/how it works on them?  OR are there
> equivalents?

I don't really have a spam problem in newsgroups, but as far as I know when 
using slrnpull or Leafnode you are restricted to their own 'filter' or 
'score' files.  This site might be useful if you need inspiration 
<http://www.samba.netfirms.com/leafnode/filters.html>.

My own Leafnode filter file is much smaller than the example there; setting 

maxcrosspost = 3

in /etc/leafnode/config seems to get rid of almost all the garbage that
slips past the filters of my up-stream NSPs.  I don't know if slrnpull has 
a similar setting, but if not then a filter such as 

Newsgroups:,{4,}

should do the same (that's a Leafnode-style one, other programs might need 
different syntax).

My /etc/leafnode/filters file simply blocks cross-posts or followup-to to
groups that generally indicate troll-posts.  If I wanted to read one of
those groups, I'd have to be more selective in the filters file and make
more use of the score-file in slrn.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <oa8d13-sci.ln1@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1128439442.857506.321200@g44g2000cwa.googlegroups.com> <9u3b13-tql.ln1@ID-107770.user.individual.net> <20051005232021@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <oa8d13-sci.ln1@ID-107770.user.individual.net>
Subject: Re: using SpamAssassin for filtering the Usenet articles?
Date: Wed, 5 Oct 2005 16:33:12 +0100
From: Whiskers <catwheezel@operamail.com>
References: <1128439442.857506.321200@g44g2000cwa.googlegroups.com> <9u3b13-tql.ln1@ID-107770.user.individual.net> <20051005232021@usenet.piggo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 52
X-Trace: individual.net R4FWimpXBuHsesSMswjKYgQ+NiPv9V+4UAlkk57od1SOjb5RM3
X-Orig-Path: ID-107770.user.individual.net!news
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
User-Agent: slrn/0.9.8.1 (Linux)