On Thu, 20 Aug 2009, Jernej Porenta wrote:

> Storing bayes in mysql with SA needs configuring in SA configs, not in 
> amavisd-new config files. So you need to edit your SA local.cf file with 
> something similar:

[...]

> Amavis just loads SpamAssassin with its config...

Jernej,

You are correct but you miss the point.  Even if the OP has the appropriate
declarations in /foo/bar/local.cf, he may not see amavisd reporting that the
modules have been loaded.

> > @additional_perl_modules = qw(
> >       Mail::SpamAssassin::BayesStore::SQL
> >       Mail::SpamAssassin::BayesStore::MySQL
> >       Mail::SpamAssassin::SQLBasedAddrList
> >       Mail::SpamAssassin::CompiledRegexps::body_0
> >     );
> > 
> > but after amavisd reload, in the logs there is no mention of these
> > modules being loaded.  What else do we need to do?  thanks.

Gary,

Your $log_level is likely at the default of '0'.  However:

 % grep 'extra modules' /usr/local/sbin/amavisd | grep do_log
 do_log(1, "extra modules loaded after daemonizing/chrooting: %s",
 do_log(1, "extra modules loaded: %s", join(", ", sort @modules_extra));

-- 
Sahil Tandon <[email protected]>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to