Page 1 of 1

spamfilter -> spam rule?

Posted: Fri May 19, 2006 9:32 pm
by clean
Hi,

how i can block all messages like:

i r c . my Spam . Net

i r c. plapla .net

and more ....

thanks for help!

Posted: Sat May 20, 2006 3:01 pm
by Jason
/spamfilter +cpnN gzline 1h Go_Die,_Spammer! i r c ?\..+\.n ?e ?t

Posted: Sat May 20, 2006 4:48 pm
by defcon
Jason wrote:/spamfilter +cpnN gzline 1h Go_Die,_Spammer! i r c ?\..+\.n ?e ?t
it should be

/spamfilter + cpnN gzline 1h Go_Die,_Spammer! i r c ?\..+\.n ?e ?t

Posted: Sat May 20, 2006 11:47 pm
by clean
Important is more that ...

i r c .

i [space] [space] [space] r [space] [space][space] c.

i [space] [space] [space] [space] r [space] [space] [space] [space] c.

I have do in my spamfilter config:

Code: Select all

spamfilter {
        regex "*i*r*c*";
        target { channel; private; };
        reason "SPAM";
        action block;
};
But it is not really fine! If anyone have a better idea, plz tell me at :)

Posted: Sun May 21, 2006 12:13 am
by Stealth

Code: Select all

i *r *c *\. *.+\. *n *e *t