On 11/23/06, Jack Gostl <[EMAIL PROTECTED]> wrote:


I'm trying to understand saupdate and how to use it. I have two questions.
I'm running AIX 5.3.

Question 2:

After running saupdate, I assume that all I have to do is to restart spamd.
How can I force spamd to restart and reload its rules? Can a do a simple
kill -1? Or do I need an actual kill and restart?

I use this to check for updates and restart spamassassin :

#!/bin/sh
#
# Updates SA

# Update the link to the correct version
VERSION=`grep -m 1 -E 'VERSION = '
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin.pm | cut -f2 -d\"`
rm /var/lib/spamassassin/current
ln -s /var/lib/spamassassin/${VERSION} /var/lib/spamassassin/current

sa-update --gpgkey 26C900A46DD40CD5AD24F6D7DEE01987265FA05B --channel
updates.spamassassin.org && /etc/init.d/spamassassin restart
/dev/null

Thanks

Jack


--
Jason 'XenoPhage' Frisvold
[EMAIL PROTECTED]

Reply via email to