SpamAssassin: Difference between revisions
From DWIKI
mNo edit summary |
|||
Line 20: | Line 20: | ||
==Useful commands== | ==Useful commands== | ||
*sa-update -D | *sa-update -D | ||
*sa-compile (to be run after sa-update!) | |||
*spamassassin -D --lint | *spamassassin -D --lint | ||
==SpamAssassin and userprefs on MySQL== | ==SpamAssassin and userprefs on MySQL== |
Revision as of 13:22, 3 October 2007
Links
Notes
3.2.2 is BROKEN, http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5574 isn't entirely correct, but the idea is:
POSIX::setuid($uuid); # set effective and real UID
Site
- Homepage
- SA Wiki
- Configuration generator
- fuzzyocr plugin to catch image spam, these instructions need work: it should be installed where the rest of the plugins go, in /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/ or so.
- SpamAssassin Rules Emporium (SARE)
Related software
Useful commands
- sa-update -D
- sa-compile (to be run after sa-update!)
- spamassassin -D --lint
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.
On debian you set those in /etc/default/spamassassin under "OPTIONS".
FAQ
netset: illegal network address given
with some luck this means you have to check your "trusted_networks" line in local.cf
The output of things like _REPORT_ and _TESTS_
hardcoded in PerMsgStatus.pm