🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #237193

Re: [Xnews]Filtering sender

#237193
From: Dialup
Date: Sun, 18 Oct 2009 23:41
40 lines
2452 bytes
Mike Yetto wrote:

> Bada bing Mike Yetto <myetto1@nycap.invalid> bada bang:
>> Bada bing Dialup <dialupconnection@hotmailDOTcom> bada bang:
>>> I have been trying to figure out a method to filter out a sender
>>> if their name is over a certain length.  There are several
>>> 'kooks' in some groups I frequent that use very long names to
>>> post. Yaako Warrior from AUZ., NZ., Korea. and Greatest Mining
>>> Pioneer of Australia of all Times are a couple examples.
>>>
>>> I have not found a method to do this yet.  Do any of you experts
>>> have a suggestion? 
>>>
>>
>> Try something like this
>>
>> #v+
>> [.]
>>     Score: =-9900
>>      From: \w{16}
>> #v-
>>
>> The _-9900_ will allow you to see if it is effective and
>> accurate.  The _\w{16}_ looks for 16 "word" characters in a row
>> disregarding whitespaces.  Adjust _16_ to taste.
>>
> 
> You might want to change the "\w" to a simple "." which will
> check the entire length of the From: header rather than
> consecutive "word" characters.

Won't this filter include the length of both the name and the email 
in the from header?  That was part of my problem as some email addys 
are quite long.  It is the actual name I wanted to filter.  I may 
have to stiick with individual killfiling.
 
> Mike "you might want to adjust all of it" Yetto

Thanks for the suggestions.
Technical Details
Message-ID: <4adba7c3$0$1932$8f2e0ebb@news.shared-secrets.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!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad!news.shared-secrets.com!not-for-mail
References: <4adb46e8$0$4594$8f2e0ebb@news.shared-secrets.com> <slrn20091018132222.579.twooffive@may.eternal-september.org> <slrn20091018133657.730.twooffive@may.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <4adba7c3$0$1932$8f2e0ebb@news.shared-secrets.com>
Subject: Re: [Xnews]Filtering sender
Date: Sun, 18 Oct 2009 23:41:56 +0000
From: Dialup <dialupconnection@hotmailDOTcom>
References: <4adb46e8$0$4594$8f2e0ebb@news.shared-secrets.com> <slrn20091018132222.579.twooffive@may.eternal-september.org> <slrn20091018133657.730.twooffive@may.eternal-september.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!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad!news.shared-secrets.com!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/2006.08.24
X-No-Archive: yes
Lines: 40
Organization: Unknown
X-Complaints-To: abuse@shared-secrets.com
X-Original-Bytes: 2224