Spamassassin Bayes/mySQL + Amavisd-new

Peter Pluta peter at placidpublishing.net
Sat Jun 9 06:35:07 UTC 2007


I've been getting some nasty spam and need to setup bayes. I'm running
amavisd-new with spamassassin. I haven't been able to find any guides... so
it's kind of hard. The only one I have been able to find is this one.
http://www.maiamailguard.com/maia/wiki/SpamAssassin3SQLBayes but it pertains
to maia-mailguard more then amavisd-new. 

This is my local.cf config:

# Enable the Bayes system
use_bayes 1
bayes_store_module                Mail::SpamAssassin::BayesStore::SQL
bayes_sql_dsn                        DBI:mysql:bayes:localhost
bayes_sql_username                bayes
bayes_sql_password                bayes

and I added the SQL that I found on that link; however, it doesn't seem to
be connecting. It tried to connect as root, not sure why. Also, is bayasian
per user or sitewide? I'm kind of confused as to where I should even start
with this because of the lack of guides. I found this:
http://wiki.apache.org/spamassassin/BetterDocumentation/SqlReadmeBayes but
it's pretty broad too so i'm not sure. Has anyone done it with amavisd-new?
-- 
View this message in context: http://www.nabble.com/Spamassassin-Bayes-mySQL-%2B-Amavisd-new-tf3893449.html#a11037822
Sent from the freebsd-questions mailing list archive at Nabble.com.



More information about the freebsd-questions mailing list