-eq 0 ] ; then # New rules are downloaded and installed, kill old SA and restart SA with new rules kill -s KILL `ps waux | grep "/usr/bin/spamd" | awk ''` /usr/bin/spamd -d -c -m 5 exit 0 else # Nothing new apparently, so do nothing for now.The purpose of this document is to provide instructions on how to update the version of Spam Assassin included with Mac OS X 10.4.x and 10.5.x Server.
Using sa-update makes a lot of sense, since it will reduce the amount of spam received between version updates (and the last version 3.2.5 is already quite some months old! This howto works also fine on Free BSD (we use it for nearly two years now), but if you have problems with GPG, try executing sa-update with: ====================================================================================== Script voor Update Spam Assassin: [sa_update.sh] #!
/bin/sh # Author : Dillard Blom # Purpose : Update spam-checking rules Spamassassin # # Usage : Adjust this script for your own use and insert this into your local crontab # # Command : /root/scripts/sa_(run from crontab) # # Created : # Updated : # /usr/local/bin/sa-update -D --nogpg if [ $?
Older, Perl-licensed versions can be found via CPAN.
Copyright © 2003-2015 The Apache Software Foundation. Apache, Apache Spam Assassin, and the Apache Spam Assassin logo are registered trademarks or trademarks of The Apache Software Foundation in the U.
When the installation is complete, exit by typing exit at the cpan command line.