Provides a plugin for BlogSpam for Drupal.

What is BlogSpam

From the blogspam site:

This blogspam service offers a simple interface which allows you to test whether a submitted blog or forum comment is spam or not.

BlogSpam provides a central location where comments can be checked for various spam indicators.

Checks available

The BlogSpam service makes use of a plugin architecture to provide checking. If you are running your own blogspam server then the plugin list may vary. At present the following plugins are available (and running on the public BlogSpam server at blogspam.net).

00blacklist

Is the given IP blacklisted?

00whitelist

Is the given IP whitelisted?

badip

Block a comment if the IP address it has been submitted from has
been locally blacklisted.

The local blacklist is read from /etc/blogspam/badips and each
line is assumed to be a Class C address.

bogusip

Is this an internal IP? That might be fine for local use,
but in the real world such IPs are not going to be seen and
can be safely marked as spam.

dnsrbl

Test whether the IP address submitting the comment is listed
in the DNS RBL

dropme

This plugin is a simple test one - if a comment mentions the
IP address it is coming from in the subject along with the key
then we'll always report it as spam.

emailtests

Perform some simple tests on the submitted email address.

lotsaurls

Block if we find more than a given number of links in message.

The default is 10 links, but this may be changed by the caller.

requiremx

If we've got an email address make sure that the domain :

a. Has an MX record.

sfs

Test whether the IP address submitting the comment is listed
in the StopForumSpam.com database.

size

Is the given post too large, or too small?

stopwords

Block if we find some particular stop-words in the body of the message.

surbl

Lookup each URL in the body of the comment and test against surbl.org

wordcount

Block posts that are only a few words long.

Drupal plugin

This plugin simply passes the comment and other useful information (e-mail if provided, subject if provided, IP address of the submitter etc) to the blogspam service. Some options are configurable (number of URLs for the lotsaurls plugin, min/max size and min number of words) and other options may be added.

Project Information

Downloads