Spam protection

Edition: Free.

Selecting this card lets fail2ban act on sources that repeatedly submit comment spam. WPf2b logs a comment after WordPress, a moderator, or a spam-detection plugin marks it as spam, producing a message that can match the hard filter; Premium also records comments discarded by Akismet. WPf2b does not decide whether a comment is spam, and the host’s jail determines whether repeated submissions warrant a ban.

Bundle settings

Setting

Value applied

WP_FAIL2BAN_LOG_SPAM

true

The Logging tab shows the individual control; use the constant for an individual change in Free.

Note

How QuickStart settings take effect

Constants always take priority, and a conflicting constant prevents a card’s bundle from applying; Site Health can report the conflict.

In Premium, a later Advanced edit takes effect even while the card remains selected. Changing a card’s state makes that change the latest UI action, and explicitly saving QuickStart reapplies selected cards. Deselecting a card restores only values that card changed and owns.

In Free, Advanced settings is read-only. Deselecting a card stops it supplying its values, after which constants or defaults determine the effective settings.

See QuickStart for the full explanation of priority, compatible values, card ownership, and restoration.

This card configures:

See also

Spam