I'm trying to setup the MySQL connection and this is what I got from:
http://spamassassin.apache.org/doc.html about setting up the db. :
In order for SpamAssassin to work with your SQL database, you must have the perl DBI module installed, AS WELL AS the DBD driver/module for your specific database. For example, if using MySQL as your RDBMS, you must have the Msql-Mysql module installed. Check CPAN for the latest versions of DBI and your database driver/module.
We are currently using:
DBI-1.20
Msql-Mysql-modules-1.2219
perl v5.6.1
the site says to get the Msql-Mysql-modules from cpan but I've read that your rpms are not compatible with cpan? I might be confused here.
This is the error message I'm getting which prompted me to look at the msql-mysql-modules ...
[29375] dbg: replacetags: replacing tags
[29375] dbg: replacetags: done replacing tags
[29375] dbg: bayes: using username: root
[29375] dbg: bayes: database connection established
[29375] dbg: bayes: found bayes db version 3
[29375] dbg: bayes: unable to initialize database for root user, aborting!
[29375] dbg: config: score set 1 chosen.
[29375] dbg: bayes: database connection established
[29375] dbg: bayes: found bayes db version 3
[29375] dbg: bayes: unable to initialize database for root user, aborting!
ERROR: Bayes dump returned an error, please re-run with -D for more information
[root@gz spamassassin]# cd /
This is my MySQL install:
[root@gz spamassassin]# rpm -qa |grep Mysql
[root@gz spamassassin]# rpm -qa |grep mysql
mysql-server-(none)-4.1.14-1.rhel3.art
mysql-debuginfo-(none)-4.0.20-art.2
mysql-devel-(none)-4.1.14-1.rhel3.art
php-mysql-(none)-4.4.0-3.rhel3.art
libdbi-dbd-mysql-(none)-0.6.5-5
mysql-(none)-4.1.14-1.rhel3.art
mysql-compat-(none)-4.1.14-1.rhel3.art
[root@gz spamassassin]#
any help would be appreciated,
Thanks.