Ralf Hildebrandt skrev:
> * Clifton Royston <[EMAIL PROTECTED]>:
> 
>>   The SARE stocks rules got updated last week; there seems to be some
>> good stuff in the latest version, at least from the tests I'm running.
> 
> Got a question regarding "sa-update": It can automatically fetch rules
> updates, and these are downloaded to
> /var/lib/spamassassin/spamassassin/3.001007 (or more precise
> /var/lib/spamassassin/spamassassin/$VERSION)
> 
> But how do these updates take effect?
> According to http://wiki.apache.org/spamassassin/RuleUpdates, SA will
> use them "automatically". But do I have to restart amavisd-new?
> 

AFAIK, no. But SpamAssassin need to lint the new rulesets, so I've added 
a lint into my update script, like this:

cat /etc/cron.daily/spamassassin
#!/bin/sh

/usr/bin/sa-update -D --channel saupdates.openprotect.com --channel 
updates.spamassassin.org --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10
sa_exit=$?

if test $sa_exit = 4; then
         echo "Problem with sa-update.."
elif test $sa_exit = 1; then
         echo "No SA updates available.."
elif test $sa_exit = 0; then
         echo "SA updates downloaded and installed."
         /usr/bin/spamassassin --lint
fi


-- 

Anders Norrbring
Norrbring Consulting

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to