Page 1 of 1

Spamfilter?

Posted: Tue Aug 17, 2004 8:39 am
by Guest
hi no speak english (:

IRCD : Unreal3.2.1
Services : Anope-1.6.2

spamfilter {
regex "\.com";
target { private; channel; private-notice; channel-notice; };
action kline;
reason "Banned";
};

/msg nickserv register nick [email protected] : Kline
/ns register nick [email protected] : No Kline

Posted: Tue Aug 17, 2004 1:19 pm
by AngryWolf
Hi, and I don't know the question. :)

About the last two lines of your post: that's simply because there is no spam filtering in the parameters of alias commands.

Posted: Wed Aug 18, 2004 5:59 am
by Ron2K
I think that he wants to ban all .com addresses and he's wanting us to check his spamfilter for any errors.

Ideally, someone who "no speak english (:" should really be posting here.

EDIT: Or could he be wanting to ban nick registrations that end in .com? In which case, IRCServices has a FORBID feature, and it's likely that Anope has that too.

Posted: Wed Aug 18, 2004 2:44 pm
by aquanight
Ron2K wrote:EDIT: Or could he be wanting to ban nick registrations that end in .com? In which case, IRCServices has a FORBID feature, and it's likely that Anope has that too.
Well he's got a very broad regex if that's the intent :D . If so, he should use ^register [^ ]+ [^ @]+@[^ ]+\.com$
AngryWolf wrote:About the last two lines of your post: that's simply because there is no spam filtering in the parameters of alias commands.
Even when crossing another server with the same spamfilter? (Because when crossing servers, NICKSERV :blablab -> PRIVMSG [email protected] :blablab)

Posted: Wed Aug 18, 2004 3:07 pm
by AngryWolf
To aquanight: yes, spam filtering is only done once on a message, namely by the server which the message sender is connected to (= locally). Filtering on each servers the message goes through would just be a waste of CPU.