🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #86087

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

#86087
From: Tone Marie Berg
Date: Wed, 24 Oct 2001 14:19
41 lines
2469 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]$

You're using Agent, and I never did bother too much with the awkward 
filtering system there. No matter, I do almost exactly the same in 
Xnews, and here's a somewhat neater variant from my score file:

    	%Kill subjects ending in 2 or more spaces and 3-5 digits
    	    	Subject: \s{2,}\d{3,5}$

> 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 $-signs
    	    	Subject: \${2,}

You'll have to translate those into Agent-speak yourself. ;)

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...

Killing extensive cross-posting also helps, as spam often is cross-
posted to a ridiculous number of groups. I'm quickly forgetting if this 
is possible in Agent, but in Xnews it is a simple checkbox in options.

-- 
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: <9r6pn2.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!news.tele.dk!small.news.tele.dk!130.133.1.3!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: <9r6pn2.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:19:50 +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!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!c76s27h5.upc.chello.NO!not-for-mail
Newsgroups: news.software.readers
Lines: 40
NNTP-Posting-Host: c76s27h5.upc.chello.no (213.46.194.76)
X-Trace: fu-berlin.de 1003933190 28880573 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