WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Web Guy v1.1.7

Dam Spam

Spam protection for WordPress registration, login, comments, and contact forms.

Dam Spam

The facts

Rating
4.3★ from 4
Active installs
2k+
Price
Free
Last updated
21 Jun 2026
Added
Nov 2025
Tested up to
WP 7.0.4
Downloads
16,873

Our analysis

AI-assisted

Dam Spam is a WordPress plugin designed to protect your site from spam registrations, login attempts, comments, and contact form submissions. It employs various methods such as IP blocking, email validation, and CAPTCHA challenges to identify and manage spam effectively. The plugin allows you to configure settings based on your specific needs, including the ability to maintain custom allow and block lists.

The plugin integrates with third-party spam detection services and offers logging features to track blocked attempts and approved submissions. It is suitable for users who want to enhance their site's security against spam while maintaining a smooth experience for legitimate users.

Best for: This plugin is best for WordPress site owners looking to reduce spam and enhance security.

What it does well

  • Blocks spam registrations, logins, comments, and form submissions
  • Supports CAPTCHA integration with Google reCAPTCHA or hCaptcha
  • Allows customizable allow and block lists
  • Integrates with third-party spam detection services
  • Tracks blocked attempts and approved submissions

Where it falls short

  • Limited information on specific configuration options
  • No details on user support or documentation

Verdict

Dam Spam provides a comprehensive solution for managing spam on WordPress sites. It offers various protective features, making it a useful tool for those concerned about spam-related issues.

From the developer

Web Guy's own description of Dam Spam, lightly tidied.

💬 Ask Question | 📧 Email Me

Dam Spam is a spam protection plugin that blocks spam registrations, login attempts, comments, and contact form submissions. It provides multiple layers of protection including IP blocking, email validation, CAPTCHA challenges, and integration with third-party spam detection services.

How it Works

Dam Spam runs a series of configurable checks on registrations, logins, comments, and form submissions. When a submission is flagged as potentially suspicious, you can choose to block it outright or present a CAPTCHA challenge. Legitimate users are cached to speed up future submissions, while known spam sources are permanently blocked.

Features

  • Multiple Protection Layers: Block spam using IP lists, disposable email detection, and behavioral analysis
  • CAPTCHA Support: Integrate with Google reCAPTCHA or hCaptcha to challenge suspicious submissions
  • Third-Party API Integration: Connect with Akismet, Stop Forum Spam, BotScout, and other spam detection services
  • Customizable Challenges: Present challenges only to suspicious users while allowing legitimate users through
  • Allow and Block Lists: Maintain custom lists of allowed and blocked IPs, emails, and user IDs
  • Smart Caching: Cache known good and bad IPs to improve performance and reduce API calls
  • Logging: Track all blocked attempts and approved submissions for review
  • Custom Login/Registration Forms: Optional custom forms with built-in spam protection
  • User Management: Identify and manage inactive or suspicious user accounts

Configuration

After installation, go to the Dam Spam settings in your WordPress admin to:

  1. Enable the protection types you need (registration, login, comments, contact forms)
  2. Choose which spam detection methods to use (IP checks, email validation, third-party APIs)
  3. Configure CAPTCHA settings if desired
  4. Set up allow and block lists for your specific needs
  5. Review logs to fine-tune your protection settings

Differences from Stop Spammers

Dam Spam is a fork of Stop Spammers. While the core spam protection functionality remains similar, Dam Spam’s file and code structure has been significantly cleaned up and modernized.

Addon Support

Dam Spam supports custom spam checks via addons. Create a separate plugin with this structure:

<?php
/*
Plugin Name: Dam Spam Addon Example
Description: Custom spam check addon for Dam Spam
Version: 1.0
*/

add_filter( 'dam_spam_addons_block', function( $addons ) {
    $addons[] = array( __FILE__, 'My_Spam_Check' );
    return $addons;
} );

class My_Spam_Check {
    public function process( $ip, &$stats, &$options, &$post ) {
        if ( $ip === '123.45.67.89' ) {
            return 'Blocked by custom check';
        }
        return false;
    }
}
  • Hook into dam_spam_addons_block or dam_spam_addons_allow
  • Return an array with your file path and class name
  • Create a class with a process() method
  • For dam_spam_addons_block: return false to continue checking, or a string to block
  • For dam_spam_addons_allow: return false to continue checking, or a string to approve
  • Test using Dam Spam > Testing (spam checks don’t run when logged in)

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for stopping spam.

Akismet Anti-spam: Spam Protection

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam sol...

Free 5M+ installs 4.7★ (1,186)
Disable Comments

Allows administrators to globally disable comments on their site. Comments can be disabled according to post t...

Free 1M+ installs 4.7★ (280)
Antispam Bee

Sophisticated antispam plugin for effective daily comment and trackback spam-fighting. Built with data protect...

Free 700k+ installs 4.8★ (226)
Advanced Google reCAPTCHA

Captcha protection against spam comments &amp; brute force login attacks using Google reCAPTCHA.

Free 200k+ installs 4.8★ (430)