🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #77647

Re: [Xnews] Spam filters

#77647
From: Murray Peterson
Date: Sat, 28 Apr 2001 20:45
30 lines
2288 bytes
ea@someisp.invalid (EA) wrote in <Xns9091A703B7092eid99@207.106.92.226>:

> What has been particularly annoying, to me at least, is a 
> method that spammers use that consists of alternating letters with 
> punctuation marks (e.g., "s,e,x,") and changing the punctuation marks
> every time in order to avoid filters.  I have been using  
> 
> Subject: ([a-z]\W[a-z]\W[a-z]\W[a-z]\W) 
> 
> but it does not always work  and as I'm not very familiar with the 
> filtering expressions I was looking for new ideas.

Your approach is pretty good, but as you noticed, it's not a perfect 
success.  I found that there were a few words that always appeared in these 
postings (like cable or sex), so I just added them explicitly:

Subject: c.a.b.l.e|s.e.x|a.*t.*t.*r.*a.*c.*t

I try to avoid the .* wherever I can, since the regexp engine has to work 
pretty hard on those.

You might want to add Subject= ^[A-Z ]*$
Any subject with no lower-case letters is either spam or an illiterate 
poster.  In either case, you probably are just as happy if it gets killed.

-- 
Murray Peterson
Email: murray_peterson@home.com (remove underscore)
URL:   http://www.members.home.net/murraypeterson
Technical Details
Message-ID: <Xns90919653FF521farkle@24.64.2.57>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail
References: <Xns909197F0553CDeid99@207.106.93.226> <Xns909186AE7F7E6farkle@24.64.2.57> <Xns90919FEC72E5Aeid99@207.106.93.226> <Xns90918EDA93670farkle@24.64.2.57> <Xns9091A703B7092eid99@207.106.92.226>

Show Full Headers
Complete Article Headers
Message-ID: <Xns90919653FF521farkle@24.64.2.57>
Subject: Re: [Xnews] Spam filters
Date: Sat, 28 Apr 2001 20:45:47 GMT
From: mwp@home.com.invalid (Murray Peterson)
References: <Xns909197F0553CDeid99@207.106.93.226> <Xns909186AE7F7E6farkle@24.64.2.57> <Xns90919FEC72E5Aeid99@207.106.93.226> <Xns90918EDA93670farkle@24.64.2.57> <Xns9091A703B7092eid99@207.106.92.226>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: None
User-Agent: Xnews/4.04.22.go.lakers
Lines: 29
NNTP-Posting-Host: 24.64.55.170
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.ab.home.com 988490747 24.64.55.170 (Sat, 28 Apr 2001 13:45:47 PDT)
NNTP-Posting-Date: Sat, 28 Apr 2001 13:45:47 PDT