/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 a similar way.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/165184
Title:
amavisd-new + spamassassin: cronjob spams root user
To manage notifications about this bug go to:
https://bugs.launchpad.net/server-papercuts/+bug/165184/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs