I've got amavisd (amavisd-new-2.5.0 (20070423)), which is configured to use
SA (SpamAssassin version 3.1.8 / running on Perl version 5.8.8).  I set
bayes_sql_dsn in local.cf:

bayes_store_module                     
Mail::SpamAssassin::BayesStore::MySQL
bayes_sql_dsn                           DBI:mysql:bayes
bayes_sql_username                      sa_user
bayes_sql_password                      sa_pass

auto_whitelist_factory                 
Mail::SpamAssassin::BayesStore::MySQL
user_awl_dsn                            DBI:mysql:bayes
user_awl_sql_username                   sa_user
user_awl_sql_password                   sa_pass

bayes_sql_override_username             vscan

When I start amavisd with debug-sa, I get the following:

[73965] dbg: bayes: using username: vscan
[73965] dbg: bayes: database connection established
[73965] dbg: bayes: found bayes db version 3
[73965] dbg: bayes: Using userid: 1
[73965] dbg: bayes: not available for scanning, only 56 spam(s) in bayes DB
< 200
[73965] dbg: bayes: database connection established
[73965] dbg: bayes: found bayes db version 3
[73965] dbg: bayes: Using userid: 1
[73965] dbg: bayes: not available for scanning, only 56 spam(s) in bayes DB
< 200
[73965] info: rules: meta test DIGEST_MULTIPLE has undefined dependency
'DCC_CHECK'
[73965] dbg: bayes: invalid config, must set bayes_sql_dsn config variable

Is there a reason that bayes_sql_dsn is being ignored?  It appears as if it
reads it fine at first, then clears the data.

Thanks in advance,
Jason
-- 
View this message in context: 
http://www.nabble.com/bayes_sql_dsn-in-local.cf-not-being-read--tf3813473.html#a10795091
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to