spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin A. McGrail" <kmcgr...@apache.org>
Subject Re: SA info: check: exceeded time limit
Date Wed, 20 Mar 2019 10:20:08 GMT
I would guess you have auto expiry of Bayes tokens enabled.  You should
look at disabling that and running a cron job in the wee hours instead.

Try bayes_auto_expire = 0 and restart amavisd.  If that works, I am sure
someone here can share a good cron script.

On Wed, Mar 20, 2019, 03:50 AMBlock <amblock@3dresearch.com wrote:

> Hello,
>
> I have a lightly used mail server (about 2,000 messages/day) running
> FreeBSD
> 11/postfix-3.2/amavisd-new-2.11/spamassassin-3.4.1/clamav-0.99.3.
>
> For about 25% of the messages which are passed to amavisd, the log
> shows a warning about bayes old tokens, followed by spamassassin
> timeout, which seems to be 5 minutes:
>
> Mar 20 00:53:58  /usr/local/sbin/amavisd[98131]: (98131-01) CALLING SA
> check
> (0)
> Mar 20 00:58:58  /usr/local/sbin/amavisd[98131]: (98131-01) _WARN:
> bayes: expire_old_tokens:
> __alarm__ignore__(76/::Plugin::Check::run_eval_tests/1106)
> Mar 20 00:58:58  /usr/local/sbin/amavisd[98131]: (98131-01) SA info:
> check: exceeded time limit in
> Mail::SpamAssassin::Plugin::Check::_eval_tests_type11_prineg400_set3,
> skipping further tests
> Mar 20 00:58:58  /usr/local/sbin/amavisd[98131]: (98131-01) DONE SA
> check
> (0)
>
> My questions:
>
> 1. Is the warning expire_old_tokens related to spamassassin timing out?
>
> 2. In /usr/local/etc/amavisd.conf I explicitly set:
>
> $sa_timeout = 30;
>
> why is amavisd ignoring it?
>
> 3. How to fix the expire_old_tokens problem (if indeed that's causing
> the timeout)?
>
> Please advise...
>

Mime
View raw message