Article View: news.software.readers
Article #110382Re: Neeed help converting Agent regex-filter to Xnews...
From: Maxx Pollare
Date: Sun, 29 Sep 2002 10:32
Date: Sun, 29 Sep 2002 10:32
64 lines
3762 bytes
3762 bytes
"Rene Brehmer" wrote in the message
<news:Xns92982FA33E02Cmetalbunnynet@194.255.237.239>
> I've tried to figure out Xnews' regex syntax, but am unsure on its
> use of parentheses ... so instead I request some assistance ...
> I've got this massive Agent kill filter - which've taken more than
> a year to perfect to killing 99% of all spam - and I'd like to
> reuse it in Xnews (as you can see from the search words, I use the
> binary groups mostly)...
[crunch, crunch]
> If I can only figure this one out, then all the other filters is
> just a walk in the park...
I gave-up on trying to use common spam words long ago, it keep killing
many of the valid post as well. I use a "per-group" filter now, one
based on the groups own posting rules and patterns. It's far more
efective, and doesn't slow down the group's loading as much.
For example:
[^alt\.binaries\.pictures\.erotica\.cartoons$]
% Group Pattern Filter...
Score: =-5000
Subject: \S(Dutch|German|Italian|French|Spanish)\S
Score: -9000
~Subject: ABPEC|ATTN|\W(r(\d|p|br|pt)?|n|new)\W|advice|newbie|tribute
The first filter marks all posts that are not English -5000, so long
as they are not flanked on ether side by a space char. The second
filter marks all posts that don't contain one of the specified words
in their Subject -9000. It's all pretty simple, except for this:
\W(r(\d|p|br|pt)?|n|new)\W
It captures the "new" and "repost" tags that some posters use instead
of the group tag (ABPEC). The "unraveled" version looks like this:
\W(r|rp|rbr|rpt|r0|r1|r2|r3|r4|r5|r6|r7|r8|r9|r0|n|new)\W
This stops all but a few spam in that group. The one or two a week
that pass through are easily killed by my global binaries filter,
located just above my per-group filters:
[^alt\.binaries\.]
Score:: -9999
Subject: \s{2,}#?\d{4,}#?$|1\d\sy(o|(ea)?r)|\d\d\w?\-\d\d\-\d\d|\d{5,}|\s{5}|\-\s{2,}
Xref: (.*:){2,}
Umm... I can decode this if you want as well...
The only two spamers that got this combination targeted the group using
the same posting patterns. For those two I just filtered them much the
same way I do for some "unfriendlies".
--
Maxxwell C.G. Pollare (maxxpollare@hotmail.com)
I help others because I can't help myself...
Polar Bear's XNews Primer - http://abmefaq.net/XNews_Primer.html
David B's Xnews Help Pages - http://www.geocities.com/d4vidb/
Sizer's Setting up Binaries - http://xnews.newsguy.com/sizer/
Technical Details
Message-ID:
<Xns92982E1CE8765Insomniac@130.133.1.4>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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!blg17w1y46mh.ab.hsia.telus.NET!not-for-mailReferences:
<Xns92982FA33E02Cmetalbunnynet@194.255.237.239>Show Full Headers
Complete Article Headers
Message-ID: <Xns92982E1CE8765Insomniac@130.133.1.4>
Subject: Re: Neeed help converting Agent regex-filter to Xnews...
Date: Sun, 29 Sep 2002 10:32:00 +0000
From: Maxx Pollare <spamail@dragonfur.ca>
References: <Xns92982FA33E02Cmetalbunnynet@194.255.237.239>
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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!blg17w1y46mh.ab.hsia.telus.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 63
NNTP-Posting-Host: blg17w1y46mh.ab.hsia.telus.net (142.59.186.137)
X-Trace: fu-berlin.de 1033295520 10966769 142.59.186.137 (16 [139626])
User-Agent: Xnews/05.08.12
X-Face: 4$2Ybn'@MrQy}!~j+4@)yU[Ca+PC|ak]8yW_,T|.sph)f]CFxN1^bjYz+=i1\~tfT8)/wM\IQ.t#;^fS{}DH{<;k#RPl"HXK:Cu\|%dH6tP\,+W:*bbx8ZVumn04g}j;C%y5XDlQU\wcqT*&yG-\&[|%>=9C&-'-"ZEQ^620E][h3C6FIGpKI/]NB=u+>}a"o"guO,n_QZFAB^b'(ef?*uRZ+_Msg]XDtB4~sZLFfv'Hw]C7_a(p,cs{psCzy:%$MEO7|;#]XdV:SKhz,(T!v1?<'f`*)d\l{5WJ