On Wednesday 20 June 2007 18:39, Duane Hill wrote:
> On Wed, 20 Jun 2007, Hamie wrote:
> > On Wednesday 20 June 2007 18:09, Rosenbaum, Larry M. wrote:
> >>> From: Hamie [mailto:[EMAIL PROTECTED]
> >>>
> >>> Small problem with SA 3.2.1... I'm using a mysql database. The DB
> >>
> >> works
> >>
> >>> fine for amavisd-new, and SA AWL. e.g.
> >>>

[deleted]

> >>>
> >>> bayes_sql_dsn                      DBI:mysql:sadb:xxxxxxx:
> >>> bayes_sql_username                 spamassassin
> >>> bayes_sql_password                 fred
> >>> bayes_sql_override_username        vscan01
> >>> bayes_store_module                 Mail::SpamAssassin::BayesStore::SQL
> >>
> >> I think you want this:
> >>
> >> bayes_store_module      Mail::SpamAssassin::BayesStore::MySQL
> >
> > Tried that too. It complains about bayes_sql_dns not being set as well.
> > The only way I can get it to STOP complaining is to set the bayes_sql_dsn
> > BEFORE the loadmodule (i.e. move loadmodule form init.pre to local.cf),
> > but then it loads, and proceeds to ignore using the SQL for bayes & uses
> > local disk still.
> >
> > Sigh...
>
> This is how mine is set and it has worked flawless since the initial set
> up on v3.1.8 (now running v3.2.1):
>
> bayes_store_module              Mail::SpamAssassin::BayesStore::MySQL
> bayes_sql_dsn                   DBI:mysql:db_name:mysql_server:3306
> bayes_sql_username              username
> bayes_sql_password              password
>
> Everything here is set up on a per account basis.

OK... Where do you do the loadmodule? It's that that's failing for me.

H

Attachment: pgp4eUGkay8xr.pgp
Description: PGP signature

Reply via email to