SpamAssassin: Difference between revisions
From DWIKI
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
==SpamAssassin and MySQL== | ==SpamAssassin and userprefs on MySQL== | ||
/usr/share/doc/spamassassin/sql | |||
Useful when using shared bayesdb and squirrelmail sasql. Read /usr/share/doc/spamassassin/sql. | |||
mysql -u root -p | |||
mysql>grant insert,select,delete,update on sasql.* to 'sasqluser'@'localhost' identified by 'sasqlpass'; | |||
mysql>flush privileges; | |||
mysql>create database sasql; | |||
mysql>quit | |||
mysql sasql -u root -p < /usr/share/doc/spamassassin/sql/userpref_mysql.sql | |||
and make sure to run spamd with the options -q -x |
Revision as of 15:46, 24 January 2007
Site
- Homepage
- SA Wiki
- Configuration generator
- fuzzyocr plugin to catch image spam, ths instructions need work: it should be installed where the reset of plugins go,
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/ or so.
Related software
SpamAssassin and userprefs on MySQL
Useful when using shared bayesdb and squirrelmail sasql. Read /usr/share/doc/spamassassin/sql.
mysql -u root -p mysql>grant insert,select,delete,update on sasql.* to 'sasqluser'@'localhost' identified by 'sasqlpass'; mysql>flush privileges; mysql>create database sasql; mysql>quit
mysql sasql -u root -p < /usr/share/doc/spamassassin/sql/userpref_mysql.sql
and make sure to run spamd with the options -q -x