SpamAssassin: Difference between revisions
From DWIKI
m (→FAQ) |
mNo edit summary |
||
Line 15: | Line 15: | ||
*[http://users.own-hero.net/~decoder/fuzzyocr/ 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. | *[http://users.own-hero.net/~decoder/fuzzyocr/ 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. | ||
*[http://www.rulesemporium.com/ SpamAssassin Rules Emporium (SARE)] | *[http://www.rulesemporium.com/ SpamAssassin Rules Emporium (SARE)] | ||
==Tuning== | |||
===se2c=== | |||
Compiled rulesets. | |||
*http://spamassassin.apache.org/full/3.2.x/doc/sa-compile.html | |||
==Related software== | ==Related software== |
Revision as of 20:52, 6 August 2008
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)
Tuning
se2c
Compiled rulesets.
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
bayes: cannot open bayes databases /var/spool/MIMEDefang/.spamassassin/bayes_* R/W: lock failed: File exists
MIGHT mean there's stale lockfiles /var/spool/MIMEDefang/.spamassassin/bayes.lock.* stop whatever is running, remove them and try again
config: failed to parse, now a plugin, skipping: ok_languages
v310.pre:
loadplugin Mail::SpamAssassin::Plugin::TextCat