Karel Beneš wrote:
> Hi,
>
>   I am trying to load user preferences from SQL db (mysql). Setup was
> done according to "doc/spamassassin/sql/README.gz", but user
> preferences are still loaded from files. No error message is raised
> into log file in debug mode. DB-based bayes and awl works fine.
>
> Debian GNU/Linux 5.0.3, spamassassin 3.2.5, mysql 5.0.51a.
>
> Spamassassin is invoked by spamc in /etc/procmailrc.
>
> spamd --max-children 2 --helper-home-dir --setuid-with-sql -d
> --pidfile=x
>
> What is going wrong?
>   
Did you set these options in your local.cf?:

  user_scores_dsn               DBI:driver:connection
  user_scores_*sql*_username      dbusername
  user_scores_*sql*_password      dbpassword

And what did you set user_scores_dsn to?

See also:

sql/README from the tarball (web copy for 3.2.x at:
http://svn.apache.org/repos/asf/spamassassin/branches/3.2/sql/README)




> Thanks a lot,
> --kb
>
>   

Reply via email to