help with spamfilters
help with spamfilters
I have been entering into spamfilter manualy via ssh into spamfilter.conf file.
How would I do this exact same block directly on irc using /spamfilter command.
spamfilter {
regex "*dildarbesi*";
target { private; channel; channel-notice; };
reason "whatever reason";
action kline;
};
Thank you for your help!
How would I do this exact same block directly on irc using /spamfilter command.
spamfilter {
regex "*dildarbesi*";
target { private; channel; channel-notice; };
reason "whatever reason";
action kline;
};
Thank you for your help!
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Please read http://www.vulnscan.org/UnrealIrcd/unre ... html#regex for a better understanding of regex.
does not work
thanks.. i will have to learn regex...
but this /spamfilter + cpN Whatever_reason dildarbesi does not work.
for example i want to spamfilter "someword" with anything before and behind the word.
where do i put in that this is kline. i assume cpN means channel, private and Channel-Notice.. am i right? what other options and how to express them?
thanks.
but this /spamfilter + cpN Whatever_reason dildarbesi does not work.
for example i want to spamfilter "someword" with anything before and behind the word.
where do i put in that this is kline. i assume cpN means channel, private and Channel-Notice.. am i right? what other options and how to express them?
thanks.
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Code: Select all
/spamfilter add cpN kline - Whatever_reason dildarbesi
tonyf:
Code: Select all
/helpop ?spamfilter
sorry
sorry.. this regex is hard
so how would i write http://www.something.somethingelse.com
that "something" and "somethingelse" are very common words and i dont want to block them by itself.. has to have www. and .com
is this correct? www\.something\.somethingelse\.com
thanks
so how would i write http://www.something.somethingelse.com
that "something" and "somethingelse" are very common words and i dont want to block them by itself.. has to have www. and .com
is this correct? www\.something\.somethingelse\.com
thanks
Re: sorry
Yes :)tonyf wrote:is this correct? www\.something\.somethingelse\.com
actually, logically regex http://www.something.somethingelse.com would also be correct in this case, because . means any symbol, and here that any symbol is "." lol
using that argument,
is also correct, doesn't mean you should use it
Code: Select all
.*