Article View: news.software.readers
Article #112178Re: [slrn] How to score this ? Tough.
From: Faux_Pseudo
Date: Thu, 24 Oct 2002 22:40
Date: Thu, 24 Oct 2002 22:40
51 lines
2795 bytes
2795 bytes
_.--- Dagger spoke in news.software.readers --------._
> However, message bodies contain a string which is the same in
> all posts,
>
> How to do that with slrnpull ?
After seeing Jurriaan's post etc I think their is only one way to
handles this. Slrnpull does not score on message bodies so we have to
go oustside to solve this:
Scripting:
Create a file called "floodstopper.sh" and put it someplace logical
with the following contents.
#!/bin/bash
for f in $(find /slrnpull/news/alt/privacy/anon/server/ -name
*"[0-9]") ; do
if grep -l "THE STRING THAT IS IN EVERY POST" $f >/dev/null; then
rm -f $f
FILES="$f $FILES"
done
echo $FILES > /tmp/$$
grep -v -f /tmp/$$ /slrnpull/news/alt/privacy/anon/server/.overview > \
/tmp/$$.$$ && cat /tmp/$$.$$ > \
/slrnpull/news/alt/privacy/anon/server/.overview
rm /tmp/$$ /tmp/$$.$$
########
Then: "chmod +x /someplace/logica/floodstopper.sh"
Then:
crontab -l > file && echo '*/30 * * * * /someplace/logica/floodstopper.sh" >> file && crontab file && rm -f file
Now every 30 minutes your system will check the bodies automagically
for files with that string in it.
I might actually use this for some of those tricky recurring spams in
the binaries groups until someone with some C/slang knowledge patches
slrnpull for body scoring.
Its good to script.
'---...____ Faux_Pseudo ________________...---~~~
--
ICQ=66618055 : (Now Playing) http://asciipr0n.com/fp updated=10/16
YIM=faux_pseudo : Rev: /unknown/The_Clash_-_Lost_in_the_Supermarket.mp3
I take you where : Now: /death_angel/the_ultra-violence/thrashers.mp3
you want to go : Fwd: /elastica/elastica/connection.mp3
Technical Details
Message-ID:
<slrnargt7n.kq.Faux_Pseudo@fugozi.cx1209071-a>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!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!p01!news2.west.cox.net.POSTED!53ab2750!not-for-mailReferences:
<IX7TYWSS37552.1915162037@Gilgamesh-frog.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnargt7n.kq.Faux_Pseudo@fugozi.cx1209071-a> Subject: Re: [slrn] How to score this ? Tough. Date: Thu, 24 Oct 2002 22:40:16 GMT From: Faux_Pseudo <Faux_Pseudo@yahoo.comERCIAL> References: <IX7TYWSS37552.1915162037@Gilgamesh-frog.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!p01!news2.west.cox.net.POSTED!53ab2750!not-for-mail Newsgroups: news.software.readers Reply-To: Faux_Pseudo@yahoo.comERCIAL X-PGP-Server: wwwkey.nl.pgp.net X-Why: are you reading this? X-PGP-KeyID: CF4DA06B User-Agent: slrn/0.9.7.4 (Linux) Lines: 50 NNTP-Posting-Host: 68.8.9.87 X-Complaints-To: abuse@cox.net X-Trace: news2.west.cox.net 1035499216 68.8.9.87 (Thu, 24 Oct 2002 18:40:16 EDT) NNTP-Posting-Date: Thu, 24 Oct 2002 18:40:16 EDT Organization: Cox Communications