๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #149004

Re: [Dialog] Scoring rules

#149004
From: Paul Walton
Date: Sat, 29 May 2004 09:59
46 lines
2638 bytes
On Fri, 28 May 2004 21:28:28 +0200, MLC wrote:

> venerdรฌ 28/mag/2004 _Paul Walton_ ha scritto:
> 
>> On Fri, 28 May 2004 18:55:56 +0200, daRkSidE wrote:
>> 
>>> *Paul Walton*, 23.05.04 11:21, news.software.readers:
>>> 
>>>> =-1 Bytes %<500 - Lines % * 10
>>>> I don't get a syntax error on entering them but they doesn't seem to work
>>>> :(
>>> 
>>> Could you explain what your purpose is?
>> 
>> One of the groups I subscribe to is being flooded with messages from a
>> malicious user. The user changes his headers to avoid easy
>> identification/ignoring of the postings.
>> 
>> Each posting has a large number of lines but only a single character in
>> each line. My aim is to identify messages with an low average character
>> count per line and thus be able to delete/ignore the messages.
>> 
> 
> If you download only the headers you can use a script in OnXover event to
> give this kind of messages a negative score (then in scoring and actions you
> can write a rule to ignore the messages with a negative score):
> 
> var
>   nbytes, nlines: integer;
>   
> begin
>   nbytes:=XoverData.Bytecount;
>   nlines:=XoverData.Linecount;
>   if nbytes < nlines*50 then
>     XoverData.Score:=-1;
> end;
> 
> I said headers only, because if you download the body this negative score
> doesn't survive.

Thanks - this looks interesting. I'll have a play with OnXover.

Regards,
-- 
Paul Walton
West Midlands, UK
Technical Details
Message-ID: <1kvzd0xxd6bwq$.yzuj73hoen23$.dlg@40tude.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!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!diablo.theplanet.net!news.theplanet.net!not-for-mail
References: <1bxw3p334vhw0$.ey73t270p3dv$.dlg@40tude.net> <h0h6jfgjb6rr$.dlg@darkside.df> <jpiat04zpru0.1ukp3jaqr0u7n.dlg@40tude.net> <gzu5wg8pggdl.dlg@ID-187316.user.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <1kvzd0xxd6bwq$.yzuj73hoen23$.dlg@40tude.net>
Subject: Re: [Dialog] Scoring rules
Date: Sat, 29 May 2004 10:59:30 +0100
From: Paul Walton <Paul.Walton@BINSPAMwalt.org.uk>
References: <1bxw3p334vhw0$.ey73t270p3dv$.dlg@40tude.net> <h0h6jfgjb6rr$.dlg@darkside.df> <jpiat04zpru0.1ukp3jaqr0u7n.dlg@40tude.net> <gzu5wg8pggdl.dlg@ID-187316.user.uni-berlin.de>
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!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!diablo.theplanet.net!news.theplanet.net!not-for-mail
Newsgroups: news.software.readers
Lines: 46
NNTP-Posting-Host: 81.79.149.61
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: newsg2.svr.pol.co.uk 1085824769 8140 81.79.149.61 (29 May 2004
NNTP-Posting-Date: 29 May 2004 09:59:29 GMT
X-Complaints-To: abuse@theplanet.net
User-Agent: 40tude_Dialog/2.0.12.1