How to disable autolearn and bayes server wide for spamassassin

Edit the file

/etc/mail/spamassassin/local.cf

and add

use_bayes 0
auto_learn 0

Once done restart spamassassin