Fighting SPAM in blog comments: Mollom

Sometimes, the amount of work you have pending doesn’t allow you to update your blog. You won’t event visit it. Then, a rabid spammers horde comes, with an unhealthy lust for flooding your blog selling Viagra, Cialis and this kind of shit. This has been exactly the case of this blog. Result? Above 350.000 commercial comments, a full database, nobody could add comments since months ago… a mess.

I’ve deleted the comments to start over. But five minutes later there were 20 new SPAM comments! Obviously, I should do something to prevent this from happening…

So I’ve added Mollom to the blog. Apart from being “capicua” (they call it a palindrome) it is powerful: it analyzes the text, and if any SPAM suspicion is raised, then it asks for a CAPTCHA. Since then, there are no SPAM comments on this blog.

Installation has been very easy. First you should register into the website mollom.com, and add a new site (Site manager -> Add new site). We choose “Mollom free” and then we answer the four questions asked. The next step, we’ll be given two keys to put in our blog after.

Once this is done, it comes the part of our site. We download the module from the mollom project at drupal.org,, we uncompress it into the Drupal modules folder, and we activate it at “Administer -> Site building -> Modules”. Once activated, we go to the configuration part (Administer -> Site configuration -> Mollom) and there we put the keys we’ve been given before, and we configure when we want to activate the antispam filter.

Et voilà! It’s running! We killed SPAM in 5 minutes.

Tomàs

Tomàs

I'll make something up