User Tools

Site Tools


mail:spamassain_gateway

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mail:spamassain_gateway [2013/03/19 13:46]
tschulz [Setup Database]
mail:spamassain_gateway [2013/03/22 06:08] (current)
tschulz [Spam Assassin Gateway (FreeBSD 9.1)]
Line 1: Line 1:
-====== ​Spam Assassin ​Gateway (FreeBSD 9.1) ======+====== ​SpamAssassin with MySQL Gateway (FreeBSD 9.1) ======
  
 ===== /​var/​db/​ports/​p5-Mail-SpamAssassin/​options ===== ===== /​var/​db/​ports/​p5-Mail-SpamAssassin/​options =====
Line 54: Line 54:
 quit quit
 </​file>​ </​file>​
 +create the required tables
 <​file>​ <​file>​
 cd /​usr/​local/​share/​doc/​p5-Mail-SpamAssassin/​sql cd /​usr/​local/​share/​doc/​p5-Mail-SpamAssassin/​sql
Line 61: Line 62:
 </​file>​ </​file>​
 ===== local.cf ===== ===== local.cf =====
-default: /​usr/​local/​etc/​mail/​spamassassin/​local.cf+  * default: /​usr/​local/​etc/​mail/​spamassassin/​local.cf 
 +  * replace **USERNAME** and **PASSWORD** with the correct values
 <file config local.cf>​ <file config local.cf>​
 user_scores_dsn DBI:​mysql:​SpamAssassin:​localhost user_scores_dsn DBI:​mysql:​SpamAssassin:​localhost
Line 79: Line 81:
 bayes_sql_password **PASSWORD** bayes_sql_password **PASSWORD**
 </​file>​ </​file>​
 +
 +That's it restart and the milter will be listening of port 9999
mail/spamassain_gateway.1363718798.txt.gz · Last modified: 2013/03/19 13:46 by tschulz