invite spamfilter with exceptions

These are old archives. They are kept for historic purposes only.
Post Reply
salama
Posts: 34
Joined: Sun Jun 19, 2005 8:27 am

invite spamfilter with exceptions

Post 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?
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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)
Why the hell can't my signature be empty?
"Your message contains too few characters."
dnm.

Post 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.
Post Reply