6 [ -f /etc/mail/spamassassin/channels ] && OPT="$OPT --channelfile /etc/mail/spamassassin/channels"
8 # Only restart spamd if sa-update returns 0, meaning it updated the rules
9 /usr/bin/sa-update $OPT || exit $?
11 if [ -x /usr/bin/sa-compile ]; then
12 out=$(/usr/bin/sa-compile 2>&1)
14 if [ $rc -gt 0 ]; then
20 if [ -x /etc/rc.d/init.d/spamd -a -e /var/lock/subsys/spamd ]; then
21 /sbin/service spamd restart > /dev/null