SeeYouLater, denying access to spammers with hosts.deny - Cookbook: recipe #215, See you later Setup
recipe #215: See you later Setup
Install the feeder package where you can access the SMTP logs.
Then create the database with the file create-database.sql (in the directory /usr/share/seeyoulater-common/ with the debian packages).
Update the file /etc/seeyoulater.conf.pl, check the database settings and make sure it refers to the correct SMTP logfile.
Configure your SMTP server to add in the logs the IP of spammer with the string ++BAN:IP++.
For instance, if you run Exim and DNSBL denial, you should have a log_message entry as this:
Then, install the butcher on the system that got the /etc/hosts.deny you want to be update, update the file /etc/seeyoulater.conf.pl
Et voilĂ , that should be it.
Audience and Context
Audience:Anonymous Users, Logged-in Users, All Project Members
Feature:
Project Main Pages, Download Area, Source Code Manager: Subversion Repositories
Action:
Browsing, Posting New Items, Editing Items, Posting Comments, Doing Searches

Related Recipes: