spam in channel notice

These are old archives. They are kept for historic purposes only.
Locked
nyro

spam in channel notice

Post 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
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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)
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Could be that the spammer was private-noticing people? In which case, channel-notice does not apply, you need private-notice.
nyro

Post by nyro »

many thanks for the help :wink:
X-TREM

notice

Post 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";
};
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

X-TREM, please don't post to threads THAT old - obviously the problem was solved AGES ago.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Locked