When we install spamassassin on our mail server we have installed a script used to download the rules to improve the capture of spam emails that arrive on our server.
The script is called sa-update. Below are a simple entry to be included in the crontab of your linux box to bring up every day at 7:00 and the script to keep up to date the rules of your spamassassin.

0 7 * * * / usr / bin / sa-update-D-updated / etc / mail / spamassassin /
Remember to restart the spamassassin service after upgrade with the command:
/ etc / init.d / spamassassin restart
or
/ etc / init.d / spamd restart
Note: Commands and locations may vary from distro to distro, but for the sysadmin should not be difficult to find the correct position. In the event of difficulties please contact us or leave a comment.



































