Difference between revisions of "Project Gamera"
m (→Clustering with Project Gamera) |
m (→READ ME FIRST!) |
||
Line 4: | Line 4: | ||
Project Gamera is an email firewall, designed to clean email of spam, viruses and phishing attempts, as well as to block spam and them to send on the clean email a mail server. Its is released under the GPLv2 license and is free for all to use. | Project Gamera is an email firewall, designed to clean email of spam, viruses and phishing attempts, as well as to block spam and them to send on the clean email a mail server. Its is released under the GPLv2 license and is free for all to use. | ||
− | == READ ME FIRST! == | + | == READ ME FIRST! == |
− | + | You should not install Project Gamera onto your existing mailserver! Project Gamera will replace the MTA on the system and will replace it with the mail firewalling setup. You will need your existing mail server. | |
== Installation == | == Installation == |
Revision as of 14:03, 25 May 2011
Contents |
Overview
Project Gamera is an email firewall, designed to clean email of spam, viruses and phishing attempts, as well as to block spam and them to send on the clean email a mail server. Its is released under the GPLv2 license and is free for all to use.
READ ME FIRST!
You should not install Project Gamera onto your existing mailserver! Project Gamera will replace the MTA on the system and will replace it with the mail firewalling setup. You will need your existing mail server.
Installation
Just run this command as root:
yum install project-gamera
Clustering with Project Gamera
- On the PG server
1) install mysql on PG
yum install mysql-server
2) set mysql pass on PG
mysqladmin -u root password PASSWORD
3) set up tortuga DB
wget http://www.atomicrocketturtle.com/tortuga/tortuga.sql mysql -u root -p < tortuga.sql
4) configure Spamassassin to use mysql
cd /etc/mail/spamassassin/ wget http://www.atomicrocketturtle.com/tortuga/tortuga.cf
5) Set spamd to use mysql
vim /etc/sysconfig/spamassassin SPAMDOPTIONS="-d -x -q -c -m30 -u qscand"
6) restart spamd
/etc/init.d/spamassassin restart
7) create remote mysql user
GRANT ALL ON tortuga.* TO tortuga@'192.168.100.244' IDENTIFIED BY 'collection'; flush privileges;
TODO: Set up maintenance
- On the plesk server
1) Add the tortuga-learn script
wget http://www.atomicrocketturtle.com/tortuga/tortuga-user-client.sh
2) Set up the tortuga client config for SA
mkdir /etc/mail/tortuga/ cd /etc/mail/tortuga/ wget http://www.atomicrocketturtle.com/tortuga/tortuga-client.cf
3) add to cron
crontab -e 0 4 * * * /root/bin/tortuga-user-client.sh >/dev/null 2>&1