I think this is how I have mine setup (it's been a while). I have an icon pointing to this command.
/etc/rc.d/init.d/spamassassin restart Check to see if you have the 'spamassassin' file in init.d for use with the above command. -----Original Message----- From: jdow [mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 12:14 AM To: users@spamassassin.apache.org Subject: Re: Restarting SPAMD From: "Matt" <[EMAIL PROTECTED]> > >Which distribution are you using? > > I am running Fedora Core 2 and have SA 3.0.2 installed by rpm. I only have > SSH access to this box. No keyboard or monitor on it. > > >If it's RedHat or Mandrake, for example, you're not starting it correctly. > >For them there is an /etc/init.d aka /etc/rc.d/init.d entry for starting > >and stopping spamd using the "service" script as with "service spamassassin > >restart". > > None on mine. > > >Otherwise you have to use kill and the command below. > > So: > > /usr/bin/spamd -d -c -m 5 -r /var/run/spamd.pid > > Do I need to invoke it like that so I can kill it? > > Thanks. > > Matt > > >> I start SPAMD like so in rc.local. > > > >> /usr/bin/spamd -d -c -m 5 [EMAIL PROTECTED] SpamAssassin]# ps x|grep spamd NNNNN ? Ss 0:02 /usr/bin/spamd -d -c -m1 -H mmmmm ? S 1:03 spamd child [EMAIL PROTECTED] SpamAssassin]# kill NNNNN;ps x|grep spamd The first gives you spamd's process number, NNNNN. The second kills that process ID and confirms spamd is gone. You might see the ps report for the grep, however. Ignore it. Of course, the value stored in /var/run/spamd.pid can be used, too, if you happened to run it the way you showed. With Linux there are many ways of doing things. You need to do this as root. If you are running RedHat, Mandrake, SUSE, or any other that uses init.d then your installation is not quite right. If you are a dedicated do it by hand type I'd suggest you're gnawing off a rather largish bite of learning, not that this is a bad thing. If your system does use init.d and some aspect of your install technique did not generate the init.d/ spamassassin file you need then I could email you the one I have. {^_^}