Greymatter SpamKill commentspam filter

This is a simple shell script that walks through the Greymatter archives/-directory and removes spam-comments from the posts.

Requirements

To be able to use this script you need:
This software has been tested with Greymatter version v1.21c.

Download and installation

Download the following file and put it on your webserver. On unix-like servers with shell acces I would suggest you use wget to download it directly into your account.

Download: filter-sh.txt (on the bottom of this web page) into your Greymatter archives directory.

Next, rename it to filter.sh and open it with your favourite editor. Change the settings in the top of the script to suit your configuration and your likes:

* The WORDS variable lets you define words that indicate a spam-comment. Any comment that contains any of these words will be trashed with no further confirmation.
* The BANLISTCGI variable should point to the relative or absolute location of your gm-banlist.cgi file. The script will add any spammer's IP to the list of banned users.

The last step is to make the file executable. Simply issue a chmod x filter.sh command.

Running

Change directories to the greymatter archives/ directory where you installed the script, and type ./filter.sh and hit Enter.

Now, when the script has finished, log into your Greymatter control panel and rebuild everything.

Disclaimer

This script may mess up your Greymatter archives. Use it at your own risk!

Microblog

@michaeldejonge Leer een hartinfarct herkennen? Reply (3 dagen geleden @twitter)

RT @onzetaal: 'Sowieso' is de juiste spelling: http://t.co/pzisyBTwHO Dus niet zowiezo, zo-wie-zo, sowiezo, soïso, soieso, sobieso, zo-en-z… Reply (4 dagen geleden @twitter)

@bookofpureevil Just became a funder. Not 666 yet, but someone had to help fill in the spots until then :-) Reply (6 dagen geleden @twitter)

http://t.co/1XnVMFsPGl to be exact Reply (7 dagen geleden @twitter)

"2009-08-17 Due to the number of spam tickets, you now have to log in to create/modify a ticket" - the site of a spamblocking tool :-) Reply (7 dagen geleden @twitter)

RT @patty7999: Todd and the Book of Pure Evil Fan-Made Promo (Original Song) by Enceladus https://t.co/ZiaBNYIAXL Reply (12 dagen geleden @twitter)

RT @ThatsEarth Little Bacon http://t.co/HH6IasDQnm Reply (12 dagen geleden @twitter)