On Wed, 2005-12-14 at 17:41 -0500, Matt Kettler wrote:
> Robert Fitzpatrick wrote:
> You can improve speed by:
> 1) disabling things, such as bayes URIBLS and RBLs
> 2) If you are using bayes switching from DB_File BayesStore to SQL 
> (recommended)
> or SDBM (fast but not well tested) will yield considerable gains.
> 3) Minimizing your add-on rulesets.
> 
> I'd suggest doing a little experiment and disable DNS and Bayes and see what
> happens to your scan times.
> 
> /etc/mail/spamassassin/local.cf:
> use_bayes 0
> dns_available no
> 
> Be sure to restart amavis to re-parse these options. Doing this will cause 
> more
> spam to skip by, but doing this will quickly tell you if one or the other of
> thee features is your problem.
> 
> If scan times improve substantially, try turning bayes on and see what 
> happens.
> Then turn bayes off and turn on DNS and see what happens. This will help
> determine which feature is causing your system the extra slowdown.

I tried dns_available no before, but that seems to have been done the
trick by disabling bayes as well. My timings are mostly 300-500 with
some 1000ms. Seems timing drops to these levels after disabling dns, but
my queue doesn't start dropping until I disable both, then wham, down
she goes...thanks.

But now, what do I need to know about these features, is it my Berkeley
DB? And DNS seems to be fine on the server.

--
Robert

Reply via email to