spam in channel notice

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

spam in channel notice

Post by nyro » Sun Sep 19, 2004 12:45 am

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: 1881
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop » Sun Sep 19, 2004 3:07 am

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 » Sun Sep 19, 2004 4:22 am

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 » Sun Sep 19, 2004 6:27 am

many thanks for the help :wink:

X-TREM

notice

Post by X-TREM » Sun Aug 14, 2005 3:25 pm

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 » Mon Aug 15, 2005 9:36 am

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