🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #237129

Re: [Xnews]Filtering sender

#237129
From: Mike Yetto
Date: Sun, 18 Oct 2009 17:39
33 lines
2749 bytes
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.

Mike "you might want to adjust all of it" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Technical Details
Message-ID: <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!nntp.giganews.com!de-l.enfer-du-nord.net!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!may.eternal-september.org!not-for-mail
References: <4adb46e8$0$4594$8f2e0ebb@news.shared-secrets.com> <slrn20091018132222.579.twooffive@may.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20091018133657.730.twooffive@may.eternal-september.org>
Subject: Re: [Xnews]Filtering sender
Date: Sun, 18 Oct 2009 13:39:19 -0400
From: Mike Yetto <myetto1@nycap.invalid>
References: <4adb46e8$0$4594$8f2e0ebb@news.shared-secrets.com> <slrn20091018132222.579.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!nntp.giganews.com!de-l.enfer-du-nord.net!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!may.eternal-september.org!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 33
X-Trace: news.eternal-september.org
 U2FsdGVkX1/lgE0ivJX/Q9hzUaxDREb8v93SnL2MVSc7IWGk6Ll3VCoTg7W5fBJwFmMpJJJK8OpsVg2rSkF1K83///QHkwIon4H0oR3ExEY9lBbq9QMhNKSgOYYFarPE9R/8Pw5bo2tBLeoqpS2+bA==
X-Complaints-To: abuse@eternal-september.org
NNTP-Posting-Date: Sun, 18 Oct 2009 17:48:06 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1/8UYwF5/zsY0XpaU8yWqBkgvghmGjql+viRhdKiNYSDA==
X-No-Bananas: Yes
X-Face: }3JWz.qUmO(s6)fi^Y)1eP$!$:`/OCi6lO:7>\e0SB{-VT^+J5DWXfTybc>y~aVli{wXD
 m/.j\Al('YgA3HNrxK-oL@; 2*[QCBW/p"j'~oe7H~MG'=-W<y-rh8h2TY3\Iq*U\4Z97!Y6f)pxHQ
 H,
Cancel-Lock: sha1:cXCNkcLVm8q+ss6fB/j0DbIhOvM=
 sha1:yrgvQbhKsl5Bb/tcyLKv8mqNWg8=
User-Agent: slrn/pre1.0.0-15/co (Kubuntu 9.04)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/