🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Saint Alice Thu, 24 Mar 2005 12:11
[Xnews] Simple Scoring Question...
#164349
Author: Saint Alice
Date: Thu, 24 Mar 2005 12:11
33 lines
1816 bytes
I've noticed lately that the spammers have a new tool - it allows them 
to post without a return e-mail address.

Header example (snipped for brevity):

X-Proxy-User: $$jnw7jcw_
From: matrix
Subject: amateur movies [ 01.jpg ] Ir6V
Newsgroups: alt.binaries...
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="-----=
49d2eb7e0d23de3ffc4964d16ff0a387"
Content-Transfer-Encoding: 7bit
Message-ID: <424180af$1_4@127.0.0.1>
Date: 23 Mar 2005 08:43:59 -0600
Lines: 205



Now, I realize it's easy enough to filter out the "matrix" pseudonym but 
that'll solve nothing. 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?


I'm lost for filter ideas so I thought I'd ask the experts..

Any Help? 

Re: [Xnews] Simple Scoring Question...
#164350
Author: »Q«
Date: Thu, 24 Mar 2005 13:22
25 lines
2061 bytes
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.

-- 
»Q«
     links to Xnews resources:
     <http://www.cotse.net/users/putty/intro.htm>
Re: [Xnews] Simple Scoring Question...
#164381
Author: Saint Alice
Date: Fri, 25 Mar 2005 11:50
21 lines
1519 bytes
Did the trick.

Cheers!



»Q« wrote:

> 
> 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.
> 
Re: [Xnews] Simple Scoring Question...
#164581
Author: 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
Re: [Xnews] Simple Scoring Question...
#164646
Author: Saint Alice
Date: Wed, 30 Mar 2005 11:47
35 lines
1953 bytes
Thanks for the input; I'll try it.

Now, a confession: my knowledge of advanced scoring ends at Xnews's 
scoring.txt.

Could you point me to a thorough Score file primer? It'd be nice to have 
a clue.


Thanks.



echo wrote:

> 
> 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
> 
Re: [Xnews] Simple Scoring Question...
#164647
Author: »Q«
Date: Wed, 30 Mar 2005 12:19
20 lines
2106 bytes
Saint Alice <saint_alice@wonderbread.com> wrote in
<news:Xns962930D8E4CD7saintaliceshawwaveca@24.71.223.159>:

> Now, a confession: my knowledge of advanced scoring ends at
> Xnews's scoring.txt.
>
> Could you point me to a thorough Score file primer? It'd be nice
> to have a clue.

Please post new text under quoted text, not above, at least in this
group.

I don't know of a thorough primer for Xnews scoring specifically.
There are a few resources online, though;  chase the link in my sig and
choose the 'score' item in the menu.

-- 
»Q«
     links to Xnews resources:
     <http://www.cotse.net/users/putty/intro.htm>
Re: [Xnews] Simple Scoring Question...
#164670
Author: John Wunderlich
Date: Wed, 30 Mar 2005 20:39
20 lines
1904 bytes
Saint Alice <saint_alice@wonderbread.com> wrote in
news:Xns962930D8E4CD7saintaliceshawwaveca@24.71.223.159: 

> Now, a confession: my knowledge of advanced scoring ends at
> Xnews's scoring.txt.
> 
> Could you point me to a thorough Score file primer? It'd be nice
> to have a clue.
> 

If you are talking about regular expressions, have you read the file 
"pcre.html"?  I believe that it was distributed with the full-up Xnews 
distributions.  This file contains a bunch of info on Perl-compatible 
regular expressions as applies to Xnews.  It also contains a link for 
beginners:

http://virtual.park.uga.edu/humcomp/perl/regex2a.html

HTH,
  John
Re: [Xnews] Simple Scoring Question...
#164783
Author: echo
Date: Fri, 01 Apr 2005 23:57
60 lines
2794 bytes
Saint Alice <saint_alice@wonderbread.com> 
news:Xns962930D8E4CD7saintaliceshawwaveca@24.71.223.159:

> Thanks for the input; I'll try it.
> 
> Now, a confession: my knowledge of advanced scoring ends at Xnews's 
> scoring.txt.
> 
> Could you point me to a thorough Score file primer? It'd be nice to have 
> a clue.
> 
> 
> Thanks.
> 
> 
> 
> echo wrote:
> 
>> 
>> 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
>> 
> 

Saint Aice:

The links below are but a few that can be helpful. As already mentioned, 
the PCRE.html file included with xnews is helpful. You will find it in the 
main folder. If not, just download a recent version of xnews and extract it 
from the comprressed file. The links below are similar to the info in that 
file, but contain a lot more info than I need. Still, I refer to them 
often.

Oh... I didn't say it in my previous message, but assume you understood 
that the filter above is designed to kill any "From:" entry that does NOT 
meet the stated conditions, which are intended to reflect the standard for 
an e-mail address. 

Enjoy!

http://www.perldoc.com/perl5.8.0/pod/perlre.html#Regular-Expressions
http://virtual.park.uga.edu/humcomp/perl/regex2a.html
http://www.newlisp.org/downloads/Tools/pcre.html

echo
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads