Page 1 of 1

spam in channel notice

Posted: Sun Sep 19, 2004 12:45 am
by nyro
I have a question...I got unrealircd 3.2.1 with spamfilter.conf, but I can't block the channel notices...I've made as follows:
target { channel; private; channel notice; };

or

target { channel; private; channel-notice; };

don't work, block normal message and private but no channel notice

Posted: Sun Sep 19, 2004 3:07 am
by Syzop
target { channel; private; channel-notice; };
seems to work fine here:

Code: Select all

spamfilter {
	regex "^SPAM$";
	target { channel-notice; };
	reason "SPAM TEST";
	action block;
};
[05:02:40] -> -#test- SPAM
#test Message blocked: SPAM TEST

(same with your 4 targets)

Posted: Sun Sep 19, 2004 4:22 am
by aquanight
Could be that the spammer was private-noticing people? In which case, channel-notice does not apply, you need private-notice.

Posted: Sun Sep 19, 2004 6:27 am
by nyro
many thanks for the help :wink:

notice

Posted: Sun Aug 14, 2005 3:25 pm
by X-TREM
nyro

You can also block users from sending channel and private notices

Put this code in your spamfilter.conf

spamfilter {
regex "*";
target { private-notice; channel-notice; };
action block;
reason "Notices are not allowed on this network";
};

Posted: Mon Aug 15, 2005 9:36 am
by Dukat
X-TREM, please don't post to threads THAT old - obviously the problem was solved AGES ago.