/usr/sbin/amavisd-new-cronjob could be changed to check if use_bayes is
set to 0:
sa-clean)
grep -q "use_bayes 0" /etc/spamassassin/local.cf ||
do_amavis_cmd "/usr/bin/sa-learn --sync --force-expire"
;;
Or it can be checked for in cron.daily/amavisd-new
In fact the problem is not fixed. It's workaround that doesn't give fix
the underlying problem.
The real solution would be to check if use_bayes is set to 0. If it is
set like that, it shouldn't run the cleaning job.
--
You received this bug notification because you are a member of Ubuntu
Serv