This is for Redhat 9.0, I'm not sure if it's in the same place for other versions. The init script reads from: /etc/sysconfig/spamassassin and if it is not found has it defined in the init script itself.
You could add into the init script a debug option ala: debug) #Put what ever other options you want here such as username, etc. SPAMDOPTIONS="-d -D" # Start daemon in debug mode. echo -n "Starting spamd in debug mode: " daemon spamd $SPAMDOPTIONS RETVAL=$? echo [ $RETVAL = 0 ] && touch /var/lock/subsys/spamd ;; Just put it between the start) and *) statements in the init script. Then you could just enter at the command line #service spamassassin stop #service spamassassin debug Mike > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Michael H. Collins > Sent: Thursday, January 08, 2004 10:43 AM > To: Spamassassin-Talk (E-mail) > Subject: [SAtalk] RedHat init > > > I want to pass the debug command to spamassassin using the > init scripts > redhat supplies. For the life of me i cannot figure out > where to insert > the flag. > > For the last couple of days spamd has been bringing my box > down to its > knees and I hope that will give me a clue. > > It was working well with no probs and even after i put all > the popcorn > and backhair rules. seemed to start when I patched it to get > rid of the > error message. > > I am trying to remain rational as i write this, but i am > freaking out. > had to turn spamassassin of to let mail run again. > > Thanks. > > > > > > -- > Michael H. Collins Admiral, Penguinista Navy > > It's us against them. Ride like you stole it! > http://linuxlink.com ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk