Everyone, I have been trying to tweak my spamassassin 2.31 that came with Red Hat 8.0 and noticed that it was not filtering the mail sometimes. I have activated spamd/spamc with the spamassassin script that comes with RED HAT. The observation I have made is that when I boot the system spamd is started and I get no failure notice in the logs, but when I look for it as a process after about 30 seconds it is gone. When I use /etc/init.d/spamassassin start to activate it again it dies again. The only way I can get spamd to stay resident is to start it on the command line as spamd -d.
I have included the spamassassin start/stop script below. Has anyone else had this problem with 8.0? Greg #!/bin/sh # # spamassassin This script starts and stops the spamd daemon # # chkconfig: - 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 if [ -f /etc/sysconfig/spamassassin ]; then . /etc/sysconfig/spamassassin fi # See how we were called. case "$1" in start) # Start daemon. echo -n "Starting spamd: " daemon spamd $SPAMDOPTIONS 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 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk