Page 1 of 1
invite spamfilter with exceptions
Posted: Mon Aug 08, 2005 1:20 am
by salama
what regexp can be used for blocking invite messages looking like irc.something.something but with exceptions for the names of all servers linked in a network?
Posted: Mon Aug 08, 2005 5:28 pm
by Jason
An infinitely complex one. There should be a spamfilter target except, but there isnt. * Jason heads over to submit a feature request.
irc\.[^ ]\.(com|net|org|etc)
Posted: Fri Aug 12, 2005 7:30 am
by dnm.
I had the same problem and finally I solved it this way, maybe it helps :
place a normal spamfilter for irc invites :
/spamfilter add cpnN block - - i.?r.?c.?\..+\..+
place a word in your badwords.*.conf and replace your own irc name :
badword message { word "irc.something.net.?"; action replace; replace "irc dot something dot net"; };
make usermode +G default on connect and make channel mode +G forced.
This is how I dealt with it. Chears.