--nextPart5993881.OFAvxIGay2
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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:hamish@travellingkiwi.com]
> >>>
> >>> 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

--nextPart5993881.OFAvxIGay2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBGekSo/3QXwQQkZYwRAtdHAKDanM3p1VqiuT3VcDptytVCZeRDdwCfTXz W
BoR56nP/q297z3Pri+e+msc=
=Ugue
-----END PGP SIGNATURE-----

--nextPart5993881.OFAvxIGay2--