๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #148992

Re: [Dialog] Scoring rules

#148992
From: MLC
Date: Fri, 28 May 2004 19:28
41 lines
2612 bytes
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.

-- 
Maria Luisa C - 28/05/04 21.28.00, here.
http://fido.altervista.org/index.php
Technical Details
Message-ID: <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.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <1bxw3p334vhw0$.ey73t270p3dv$.dlg@40tude.net> <h0h6jfgjb6rr$.dlg@darkside.df> <jpiat04zpru0.1ukp3jaqr0u7n.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <gzu5wg8pggdl.dlg@ID-187316.user.uni-berlin.de>
Subject: Re: [Dialog] Scoring rules
Date: Fri, 28 May 2004 21:28:28 +0200
From: MLC <maluc52@yahoo.it>
References: <1bxw3p334vhw0$.ey73t270p3dv$.dlg@40tude.net> <h0h6jfgjb6rr$.dlg@darkside.df> <jpiat04zpru0.1ukp3jaqr0u7n.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.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 41
Reply-To: mlcald@msn.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de ie3IFU5HIQmTDMK/7tAbkQFMz+VvngPkPYE1JptQQm8yqrMJhn
User-Agent: 40tude_Dialog/2.0.12.1it (d79fc118.269.272)
X-face: (O6iue.kQNT|`uU@vD|.WKC^TF~T<TIA,\;
 B'27kz>*1Mk|Z6U!2EKSFc')'xVk]t'/3<,#
 #L+5&I{L<!Q%p[k|+%mSCT"e2\4JnDJhbQ,`EA4fu$q0q>{7W?\gQeqD@*lzcR0~:9Zzn!1yCRb