Re: [FC1] James' Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 9 Sep 2005, Gilbert Sebenste wrote:

That Spamassassin doesn't work on FC1. Tried it, bombed with a bunch of incompatibility errors. However...

James, when I restart spamassassin in /etc/rc.d/init.d, I get:

Starting spamd: The -a option has been removed. Please look at the use_auto_whitelist config option instead. [ FAILED]

I don't see a "-a" option in my /etc/rc.d/init.d/spamassassin file.
Any ideas?

Sorry, this got left out. this is my Spamassassin file, very close to the default values:

#!/bin/sh
#
# spamassassin This script starts and stops the spamd daemon
#
# chkconfig: - 80 30
# processname: spamd
# description: spamd is a daemon process which uses SpamAssassin to check \
#              email messages for SPAM.  It is normally called by spamc \
#	       from a MDA.

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

# Set default spamd configuration.
SPAMDOPTIONS="-d -c -m5 -H"

# Source spamd configuration.
if [ -f /etc/sysconfig/spamassassin ] ; then
 	. /etc/sysconfig/spamassassin
fi

[ -f /usr/bin/spamd -o -f /usr/local/bin/spamd ] || exit 0
PATH=$PATH:/usr/bin:/usr/local/bin

# By default it's all good
RETVAL=0

# See how we were called.
case "$1" in
   start)
 	# Start daemon.
 	echo -n "Starting spamd: "
 	daemon $NICELEVEL spamd $SPAMDOPTIONS
 	RETVAL=$?
         echo
         [ $RETVAL = 0 ] && touch /var/lock/subsys/spamassassin
         ;;
   stop)
         # Stop daemons.
         echo -n "Shutting down spamd: "
         killproc spamd
         RETVAL=$?
         echo
         [ $RETVAL = 0 ] && rm -f /var/lock/subsys/spamassassin
         ;;
   restart)
         $0 stop
         $0 start
         ;;
   condrestart)
        [ -e /var/lock/subsys/spamassassin ] && $0 restart
        ;;
   status)
 	status spamd
 	RETVAL=$?
 	;;
   *)
 	echo "Usage: $0 {start|stop|restart|status|condrestart}"
 	RETVAL=1
 	;;
esac

exit $RETVAL

--

fedora-legacy-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux