RBL for Comment Spam In WordPress

2 Comments »

Well, I was going to make this a comment to Hugh’s rant about comment Spam, but his comments are… clo-… oh, right.

JamesOff.net has a WordPress Anti-Spam RBL checker that he’s working on:

I have written a WordPress plugin which checks the IP of the poster and deletes their comment immediately when it is added if it is listed in an RBL (like spamcop or spamhaus).

Unfortunately WP still generates the email saying the comment was added, I’m not sure if I can stop that. An alternative might be to prevent users with RBLed IPs from being able to access the comments form, but if they still try to hit the wp-comments.php file directly I’m not sure if I can hook it that early

[edit]
Actually, our friend JamesOff has finished the first working version of this plugin for WordPress. Looks like it can be capped and added here

Posted on November 10th 2004 in General
Copyright © 2026 Gecko Bloggle