on 3/19/02 10:06 AM, Bart Schaefer at [EMAIL PROTECTED] wrote:

> On Tue, 19 Mar 2002, AHA Lists wrote:
> 
>> Here is what top shows once the email has been sent
>> 1631 root       0   0  6424 6424  1196 T       0  0.0  5.0   0:01 spamd
>                                       ^^^
> spamd has received a SIGSTOP (or perhaps SIGTSTP) and the kernel is
> waiting for a SIGCONT before letting it proceed.
> 
> How did you start spamd?
> 

With the script that comes with it to start it.  I have it in my init.d
directory.

I typed ./spamd start




Below is the control script

#!/bin/sh
#
# spamassassin This script starts and stops the spamd daemon
#
# chkconfig: 2345 80 30
#
# 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

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

# See how we were called.
case "$1" in
  start)
        # Start daemon.
        echo -n "Starting spamd: "
        daemon spamd -d -c -a
        RETVAL=$?
        touch /var/lock/spamd
        echo
        ;;
  stop)
        # Stop daemons.
        echo -n "Shutting down spamd: "
        killproc spamd
        RETVAL=$?
        rm -f /var/lock/spamd
        echo
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  status)
        status spamd
        ;;
  *)
        echo "Usage: $0 {start|stop|restart|status}"
        exit 1
esac

exit 0


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to