Dusan Obradovic <du...@euracks.net> wrote: > > >> On Mar 27, 2019, at 10:11 PM, Nick Howitt <n...@howitts.co.uk> wrote: >> >> What is weird is I've been down this route. "grep bayes /etc/* -r" returned >> one commented line in /etc/mail/spamassassin/v320.pre: >> >> # and create a header containing ASN data for bayes tokenization. >> >> >> and that is it. I also tried an "sa-learn --sync" and "sa-learn >> --force-expire" and got no improvements. I am really puzzled. > > SA enables these learning options by default. See > https://spamassassin.apache.org/full/3.0.x/dist/doc/Mail_SpamAssassin_Conf.html#learning_options > > If you want to change either of these values, you should probably use > /etc/mail/spamassassin/local.cf file and restart amavisd. > > To keep using bayes_auto_expire, consider moving Bayesian storage to SQL > database. See > https://svn.apache.org/repos/asf/spamassassin/branches/3.4/sql/README.bayes even better you can use Redis and have fast autoexpire for free: https://svn.apache.org/repos/asf/spamassassin/trunk/contrib/HOWTO.Bayes-Redis/
Cheers Giovanni