🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Spaminator Fri, 27 Dec 1996 00:00
NX Question
#28567
Author: Spaminator
Date: Fri, 27 Dec 1996 00:00
29 lines
1810 bytes
OK. I know we can kill a subject with "wildcards", and can make the wildcards 
fall within certain parameters, but can we do that in the "from:" field too?

I've noticed one VERY busy spammer uses a certain EMail address, which is 100% 
phony. We'll use the example "queen.net". About 2 weeks ago, they started 
adding numbers and letters behine it, like "queen1.net" and "queene1.net". So, 
I need a way to kill ANYTHING from "queen.net", "queen1.net" and 
"queene1.net". And ALSO, anything else that might fall within those 
boundaries. Like "queen5.net" "queenz9.net", etc. So, what can I use for my 
kill filter that will kill ANYTHING with the root "queen", and might have 1 or 
2 characters after it? The ".net" isn't important, as I'll just make that into 
the normal extensions that they use. (.com, .edu, .net, .cum, etc.)

AdvTHANKSance

EMail address modified to bypass bulk EMailers. Reply to: miketoth@mc.net

Learn how to get the spammers, and junk EMailers, back.
Go to: http://user.mc.net/~miketoth/index.html
Excellent collection of links/URLs and other items so YOU can help in the
fight of net abuse!

Now: News Xpress "KILLRC" file.

P.S. to junk EMailers: If you send me junk EMail, and say you've seen my 
post(s), you're in for a WORLD of HURT!!!!!

Re: NX Question
#28582
Author: Brian Smither
Date: Sat, 28 Dec 1996 00:00
22 lines
1464 bytes
In article <5a161b$sk_032@miketoth.mc.net>,

>We'll use the example "queenXXXXX.net". So, what can I use for my 
>kill filter that will kill ANYTHING with the root "queen", and might have 1 
>or 2 characters after it? The ".net" isn't important.

Let's try this:

KILL in the FROM: field...
 queen.*\.net    kills  queenX.net   where X is any character(s) including
                                     no character at all.
 queen.\.net     kills  queenX.net   where X is any one character.
 queen..\.net    kills  queenXX.net  where XX is any two characters.

The period means to match any character, an asterisk following a period means 
to match any number of characters, including none at all, and a backslash 
means to allow the following character exactly (meaning, the period really is 
a period, not a wildcard symbol). If NX2.0 follows NX1.0 kill-file protocol, 
the kill strings are NOT case-sensitive.

Re: NX Question
#28587
Author: John Head
Date: Sat, 28 Dec 1996 00:00
52 lines
2142 bytes
Mike,

Apparently by putting whatever expression in the kill file, NX finds that 
expression wherever in the field that it is.  Here's a copy of the text in the 
help file about "regular expressions" use in the NX kill file.

Good luck with your anti-Spam campaign!!

A regular expression consists of one or more statements separated by '|'. A 
statement consists of one or more items. An item consists of zero or more 
operators, and one or more characters. Any character which is reserved for 
operator, must be preceded by a blackslash to match it literally.

Operator                Explanation

?       preceeding item is optional
*       preceeding item occurs zero or more times
+       preceeding item occurs one or more times
^       matches item at the beginning of a line
$       matches item at the end of a line
[chars] match any character in the given list of characters; a range of 
characters may be specified by separating two characters by '-'; for example, 
[a-z], [A-Z], or [0-9]; to specify '-' literally, make it the first or last 
character in the list

[^chars]        match any character not in the given list of characters


Example 1:

test|ignore|make (\$*|money)

This regexp matches any string which contains "test", "ignore", "make $", 
"make $$", or "make money".

Example 2:

ok

[^a-z0-9]ok[^a-z0-9]

The first regexp matches any string which contains "ok", such as "book", 
"look", or "token"; the second regexp matches any string which contains the 
word "ok".


--
John Head
jhead@smartt.com

Re: NX Question
#28603
Author: Conrad Sabatier
Date: Sun, 29 Dec 1996 00:00
41 lines
1948 bytes
In article <5a161b$sk_032@miketoth.mc.net>,
	Spaminator@stop.spam (Spaminator) writes:
> I need a way to kill ANYTHING from "queen.net", "queen1.net" and 
> "queene1.net". And ALSO, anything else that might fall within those 
> boundaries. Like "queen5.net" "queenz9.net", etc. So, what can I use for my 
> kill filter that will kill ANYTHING with the root "queen", and might have 1 or 
> 2 characters after it? The ".net" isn't important, as I'll just make that into 
> the normal extensions that they use. (.com, .edu, .net, .cum, etc.)

Simple.  Use:

queen.*  (remember, the period is the wildcard or "match any" character,
          while the asterisk means "zero or more of the preceding")

If you want to be more exact, so as to avoid matching, say, "mcqueen",
then:

@queen.*

If you want to explicitly include the ".net" part:

@queen.*\.net (here the second period must be "escaped" so as to be
               interpreted as the literal character)

Now, if they also vary the "extension" (.net, .com, .edu, etc.):

@queen.*\.    (here we ignore whatever comes after the period, so it
               matches them all!)

Hope this helps.

P.S.  Watch your line lengths!  :-)

-- 
Conrad Sabatier                  | 
conrads@neosoft.com              |  Eschew obfuscation.
http://www.neosoft.com/~conrads  | 


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads