๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #164581

Re: [Xnews] Simple Scoring Question...

#164581
From: echo
Date: Tue, 29 Mar 2005 12:40
41 lines
2224 bytes
ยปQยซ <boxcars@gmx.net> news:MrQ96234B0083DD9itsmeitsQ@QsFQDN.dyndns.org:

> Saint Alice <saint_alice@wonderbread.com> wrote in
> <news:Xns962334FADF6A0saintaliceshawwaveca@24.71.223.159>:
> 
>> I want to filter anyone posting without an e-mail address.
>>
>> Is there a way to filter messages that leave the sender info
>> blank?
>>
>> Or possibly messages that don't include the "@" sign?
> 
> In the [.] section of score.ini,
> 
>   Score:: -9999
>     ~From: @
> 
> should kill any message without an e-mail address in the From field.
>  You may want to test with a higher score than -9999 (or test with
> 'hard kill' turned off).  Some of the posters you want to see may be
> posting without an e-mail address;  IIRC some of the
> binaries-oriented posting agents allow that.
> 

This would work, but might be limited as it would also allow a From: entry 
of  "R@tman" or "@lphaday" to pass through the filter. You might want to 
try something more limiting like:

Score:: -9999
  ~From: \w+@.*\.\D\D+

Not sure if this exact, so all score-pros should feel free to crrect. 
Nonetheless, i think it captures the essence of filtering for: 

any string of 2 or more characters or digits (\w+)
followed by "@" plus any string (@.*)
followed by a period and 2 or more non-digit characters (\.\D\D+)

Hope it helps - haven't tried it!

echo
Technical Details
Message-ID: <Xns96284E178CEB2echo123@38.144.126.105>
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!feed4.newsreader.com!newsreader.com!newsh.newsreader.com!alpha.newsreader.com!not-for-mail
References: <Xns962334FADF6A0saintaliceshawwaveca@24.71.223.159> <MrQ96234B0083DD9itsmeitsQ@QsFQDN.dyndns.org>

Show Full Headers
Complete Article Headers
Message-ID: <Xns96284E178CEB2echo123@38.144.126.105>
Subject: Re: [Xnews] Simple Scoring Question...
Date: Tue, 29 Mar 2005 12:40:20 +0000
From: echo <echo@echo.echo>
References: <Xns962334FADF6A0saintaliceshawwaveca@24.71.223.159> <MrQ96234B0083DD9itsmeitsQ@QsFQDN.dyndns.org>
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!feed4.newsreader.com!newsreader.com!newsh.newsreader.com!alpha.newsreader.com!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/??.01.30
X-Trace: alpha.newsreader.com 9V4_PM1x8VFze8s61ibOf_uzb, PHf8ZA,
 JMxw2FESvk4HGqS
Lines: 41