Peter Marklund

Peter Marklund's Home


Rails Tip: Using Rakismet to Stop Spam

I am trying out Rakismet now for this blog to prevent comment spam - an issue that has been bugging me for a long time and that has been getting worse lately. Setting up the Rakismet plugin was a breeze. Very nice! Now, let's hope it actually stops the spammers. We use Rakismet at Newsdesk and I think it's worked out really well there.

7 comment(s)


Adam Meehan said 2009-04-11 10:30:

Perhaps the bot spammers have caught up to the basic math filter. I wonder how it would go with the math question as an image instead of straight text. Or are they as Jarko suggests human spammers? I have used a hidden form field done with javascript to hide on load to filter spam. Its based on the knowledge that spam bots usually fill in all form fields with something, then you just filter comments if the hidden field has content. This was just a small low traffic site though. I like the idea of a simple tricks, like the math, to fool spamming. Though I just use akismet on my wordpress blog.

Peter Marklund said 2009-04-01 20:31:

Jarkko, yes I did get spam despite the 1+1 question, and quite a lot of it. Even today with Rakismet, some spam was able to slip through. It seems Rakismet filters out most of the spam though, and that's a real relief. Cheers Peter

Jarkko Laine said 2009-04-01 15:36:

Did you get spam even despite of your 1 + 1 question? Meaning, you got spam sent by actual human beings?

Peter Marklund said 2009-04-01 07:49:

Here is another comment, still not spam...

Peter Marklund said 2009-03-31 20:53:

I also hope Rakismet won't be too restrictive and stop comments such as this one... :-)