Well..
Does this make sense?

I stopped spamassassin service. I issued 'spamd -D' as
root and then ran 'spamc < sample-spam.txt >
spam.out'. I open spam.out and all the tags are in
place. spamd -D terminal showed all the messages,
including the check results and the spam score.

I restart the spamassassin service, issue 'spamc <
sample-spam.txt > spam.out and no tags anymore in
spam.out.

whats wrong with spamassassin service? Below is the
'spamasassin' script that resides in /etc/rc.d/init.d
thats called during boot up in RH 8.0.

----------- snip -----------------------------

#!/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

------------ snip -------------------


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to