invite spamfilter with exceptions

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

invite spamfilter with exceptions

Post by salama » Mon Aug 08, 2005 1:20 am

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?

Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason » Mon Aug 08, 2005 5:28 pm

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."


Post by dnm. » Fri Aug 12, 2005 7:30 am

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 ""; 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