I run SA 3.1.4, amavis-new 2.4.2.

I have a small problem with SQL based Bayes, in my "amavisd debug-sa" I see this all the time:

[6204] dbg: bayes: database connection established
[6204] dbg: bayes: found bayes db version 3
[6204] dbg: bayes: unable to initialize database for vscan user, aborting!

In my local.cf, these entries are present, with name and pass changed:

bayes_store_module         Mail::SpamAssassin::BayesStore::MySQL
bayes_sql_dsn                      DBI:mysql:sa_bayes:localhost:3306
bayes_sql_username                 username
bayes_sql_password                 password

Shouldn't SA try to contact MySQL as "username" and not as "vscan"? The processes runs as the user vscan.

--

Anders Norrbring
Norrbring Consulting

Reply via email to