CHAPTER 4 (Web server certificate) ADDING CONTRIBUTED MODULES 137 URL

CHAPTER 4 ADDING CONTRIBUTED MODULES 137 URL Counting Since the most common goal of spam content is to publish links back to the spammer s web site, a logical and effective method for identifying spam revolves around counting URLs in posts. The Spam module can be configured to mark content or comments as spam if they have more than a certain number of URLs in them, or alternatively, if the same URL appears more than a certain number of times. Distributed Server Boycott List The Distributed Server Boycott List is a set of lists of IP addresses of servers that are known to be open relays, open proxies, or to have other vulnerabilities that allow anyone to deliver e-mail to anywhere, through that server. The Spam module s fourth anti-spam mechanism uses these lists to check the IP addresses of users posting content and see if they are known e-mail spammers. Presumably, e-mail spammers are also content/comment spammers. Installing the Spam Module Follow these steps to install the Spam module: 1. Download the latest version of the Spam module from http://drupal.org/project/ spam. Note At the time of writing, this module was being rewritten. You are encouraged to follow developments on the Spam 2.0 module at http://www.kerneltrap.org/jeremy/drupal/spam/. 2. After backing up your data, import the file spam.mysql (or spam.pgsql if appropriate) into your database. 3. Although the Spam module comes delivered with many subfolders and extra files, the only one you need to get started is spam.module. Create a folder called spam in your modules directory and move spam.module into it. 4. Since the Spam module learns from experience and builds lists of words, URLs, and IP addresses associated with spam, the experience of other web site administrators can be very useful in avoiding spam. To this end, there are a number of database dumps of the spam filters from active sites that have dealt with large quantities of spam. These files are found in the contributed/spam_tokens folder that comes with the Spam module download. Optionally, you can load these files into your database. 5. Navigate to administer . modules (admin/modules) and enable the module. Configuring the Spam Module To configure the Spam module, you need to set the appropriate Drupal permissions. You also need to visit the module s settings page and set up your filters and other spam prevention options.
Note: In case you are looking for affordable webhost to host and run your servlet application check Vision ecommerce web hosting services

Leave a Reply