|
|
SpamFirewall, Program to firewall mailservers that send too much spam to your mail server
Jason Jorgensen
Version 1.2
09-16-2004
1. Introduction
2. Installation
3. Usage
4. Copyright
-----------------------------------------
1. Introduction
I wanted a system to automatically block mail servers that send me too much spam.
This first version of the software is alittle hard coded. I want to make it more
modular with a client/server setup, plugins for different firewall systems, and
plugins for spam matching. At present however its geared toward postfix, iptables
and spamassassin.
Current Features:
- Automatically queues the IP addresses of mail servers and spammers from messages
that match the spam rules.
- Automatically firewall those mailservers and spammers if they send enough spam
to meet your desired threshold.
- Automatically removes IP addresses from the queue and from the blocked list
after a specified expiration period.
- Each repeat offense from a spammer will increase the amount of time they are
blocked. With good behavior the amount of time will decrease.
The latest version of spamfirewalll is available at http://www.innominatus.com
Sorry for the rough (anti-newbie) readme file.
-----------------------------------------
2. Installation
- Run spamfirewall.sql against your mysql server. Or the update sql patches.
- Modify spamfirewall and spamfirewallmaintenance to match your mysql users prefs,
spam thresholds, and expire times.
- Add spamfirewall to your MTAs filter script. An example filter.sh is included.
- Add spamfirewallmaintenance to cron.
For example the following /etc/crontab line to run once an hour:
09 */1 * * * root /usr/local/bin/spamfirewallmaintenance >/dev/null
-----------------------------------------
3. Usage
Basically do nothing and enjoy less spam.
-----------------------------------------
4. Copyright
spamfirewall Copyright 2003 Jason Jorgensen, jasonj@innominatus.com
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Downloads:
Release Directory
License: GPL
|