SpamAssassin – config: no rules were found! Do you need to run ‘sa-update’?
Error: SpamAssassin – config: no rules were found! Do you need to run ‘sa-update’?
You runif(typeof __ez_fad_position != ‘undefined’){__ez_fad_position(‘div-gpt-ad-howtoforge_com-box-3-0’)};
spamassassin --lint
and get the following output:
[root ~]# spamassassin --lint
config: no rules were found! Do you need to run 'sa-update'?
[root ~]#
Solution
You need to download the latest SpamAssassin rules by running
sa-update
You can create a cron job that does this automatically. First find out the full path for sa-update:
which sa-update
[root ~]# which sa-update
/usr/bin/sa-update
[root ~]#
Then create a cron job like this, using the full path to sa-update:
(adsbygoogle = window.adsbygoogle || []).push({});
crontab -e
23 4 * * * /usr/bin/sa-update &> /dev/null
This runs sa-update each day at 4.23h.