Project Gamera

From Atomicorp Wiki
Jump to: navigation, search


[edit] Overview

Project Gamera (PG) 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 downstream mail server or servers. PG is designed to be low maintenance, and require a minimal amount of management. It is released under the AGPLv3 (Affero General Public License) and is free for all to use.


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.

[edit] Installation

Activate atomic repository

 wget -q -O - |sh

Install Project Gamera

 yum install project-gamera

Configure allowed domains. Example:

 vim /var/qmail/control/rcpthosts

Configure SMTP Routes, <domain>:<destination ip>. Example:

 vim /var/qmail/control/smtproutes

Restart or reload init

 init q



[edit] Clustering with Project Gamera

  1. 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

 mysql -u root -p < tortuga.sql

4) configure Spamassassin to use mysql

 cd /etc/mail/spamassassin/

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@'' IDENTIFIED BY 'collection';
 flush privileges;

TODO: Set up maintenance

  1. On the plesk server

1) Add the tortuga-learn script


2) Set up the tortuga client config for SA

 mkdir /etc/mail/tortuga/
 cd /etc/mail/tortuga/

3) add to cron

 crontab -e 
 0       4       *       *       *       /root/bin/ >/dev/null 2>&1
Personal tools