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

@btebrugge Helemaal juist, Bram :-) Reply (12 uur geleden @twitter)

Een groot voordeel van thuiswerken is dat ik niet door de kou naar mijn werk hoef; ik houd me voor dat de boodschappenwandel goed voor me is Reply (16 uur geleden @twitter)

@Tamaartje1 Omdat je binnen slaapt vermoed ik. Reply (17 uur geleden @twitter)

@rvandijke Hehe, dat kan inderdaad ook ;-) Maar dan moet ik het door een chinees laten brengen, en die hebben niet zulke lekkere friet. ;-P Reply (3 dagen geleden @twitter)

Hmmm... ik vrees dat ik straks door de sneeuw moet ploegen om frietjes te halen! Wat heb ik het toch zwaar. Reply (3 dagen geleden @twitter)

@zenimot @eshuis_biz Juist geen #burn, daar gaat het net om! Reply (5 dagen geleden @twitter)

@eshuis_biz Nog steeds chagrijnig? Reply (6 dagen geleden @twitter)