The plugin checks subscription emails for spam using the Botbouncer class https://github.com/michield/botbouncer.
It currently supports any combination of the following services:
- Stop Forum Spam (no registration required, enabled by default)
- Akismet (free for personal use, commercial use paid)
- Project Honeypot (free registration required)
Mollom(service ended)- IP Intel (no registration required, limit 500 IPs/day)
If you have already installed the CAPTCHA plugin then you do not need this plugin because that plugin already includes (most of) this functionality.
Requires php version 5.2 or later.
You can use a directory outside of the web root by changing the definition of PLUGIN_ROOTDIR
in config.php.
The benefit of this is that plugins will not be affected when you upgrade phplist.
Install on the Plugins page (menu Config > Plugins) using the package URL https://github.com/bramley/phplist-plugin-botbouncer/archive/master.zip
.
In phplist releases 3.0.5 and earlier there is a bug that can cause a plugin to be incompletely installed on some configurations (https://mantis.phplist.com/view.php?id=16865). Check that these files are in the plugin directory. If not then you will need to install manually. The bug has been fixed in release 3.0.6.
- the file BotBouncerPlugin.php
- the directory BotBouncerPlugin
Download the plugin zip file from https://github.com/bramley/phplist-plugin-botbouncer/archive/master.zip
Expand the zip file, then copy the contents of the plugins directory to your phplist plugins directory. This should contain
- the file BotBouncerPlugin.php
- the directory BotBouncerPlugin
On the Settings page you can specify:
- The message to be displayed to the subscriber when the subscription attempt is rejected
- Whether to write a record to the event log for each failed subscription attempt
- Whether to send an email to the admin for each failed subscription attempt
In your config.php, you can set the following globals:
- $honeyPotApiKey - Set to API key to enable Project Honey Pot
- $akismetApiKey
- $akismetBlogURL
- $logRoot - Output various logs into this folder
- $memCachedServer - Reduce duplicate API lookups by caching results with memcached
$mollomPrivateKey$mollomPublicKey- $ipIntelContact - IP Intel requires an admin contact e-mail address (but no registration)
- $sfsEnabled - set false to disable Stop Forum Spam check
- $botBouncerProtectASubscribe - set false to disable checking on asubscribe (ajax). Defaults to true (protect).
- $botBouncerProtectSubscribe - set false to disable checking on subscribe (non-ajax / normal page). Defaults to true (protect).
Go to Stop Forum Spam and select an email address from the Last 500 entries. Then try to subscribe to your lists using that email address.
version Description
2.0.6+20220310 Restore the unix query parameter to the stopforumspam URL
2.0.5+20220310 Ensure that the response from stopforumspam is serialised as expected. Closes #1
2.0.4+20200512 Update link to Stop Forum Spam
2.0.3+20200512 Belatedly update the botbouncer class
2.0.2+20200512 Allow plugin to be enabled only when captcha plugin is not enabled
2.0.1+20161014 Added dependencies
2013-11-03 Initial version for phplist 3