🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #86086

Re: Spam Bot - here is regex expression to clear at least some

#86086
From: Tone Marie Berg
Date: Wed, 24 Oct 2001 14:05
32 lines
2043 bytes
David Hayward <dh@didge.com> wrote in
news:qicdtt0qbekdgf86nau3216k1g89no1s5a@4ax.com: 

> Some of these stick a 3 ,4 or 5 digit number on the end of the
> subject line:-
> 
> solution is to match the SUBJECT to [ ][ ][0-9][0-9][0-9]$

A neater one, IMHO, is �\s{2,}\d{3,5}$�. That matches any line ending in 
two or more spaces and then 3 to 5 digits, and is much nicer to look at.  
:)

> Any other suggestions to get a grip on the spammers?

These are also in my file:

    	%Kill all subjects in ALL CAPS
    	    	~Subject= .*[a-z]

    	%Kill all subjects containing two or more $
    	    	Subject: \${2,}

In groups where full names in the from-field is the norm, it can be an 
idea to filter out people using only nicknames. I'm still working on a 
nice, solid regexp for this, though...

-- 
Tone Marie Berg                              [ http://zicon.cjb.net/ ]

I'm leaving now to go find myself. If I should return before I get 
back, please ask me to wait.
Technical Details
Message-ID: <9r6oro.1do.1@ID-86522.user.dfncis.de>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!c76s27h5.upc.chello.NO!not-for-mail
References: <qicdtt0qbekdgf86nau3216k1g89no1s5a@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <9r6oro.1do.1@ID-86522.user.dfncis.de>
Subject: Re: Spam Bot - here is regex expression to clear at least some
Date: Wed, 24 Oct 2001 14:05:17 +0000
From: Tone Marie Berg <news-int@zicon.cjb.net>
References: <qicdtt0qbekdgf86nau3216k1g89no1s5a@4ax.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!c76s27h5.upc.chello.NO!not-for-mail
Newsgroups: news.software.readers
Lines: 31
NNTP-Posting-Host: c76s27h5.upc.chello.no (213.46.194.76)
X-Trace: fu-berlin.de 1003932317 28546289 213.46.194.76 (16 [86522])
User-Agent: Xnews/4.06.22
X-Face: P4O}z*,i.,t(3dlTh.TD#:O7-b&WhaRnR1&;W@}f},$[YrEmP{JMwgfS1VAStV`?oq;28;M*fqa4r4z(*v._yW3dVR4mwDg=K;z]:yXC3JHi{p#R0qA8n0W8UU.?;|,kY$GB1v;<AWdzin,>a*tW4++s4