Quick way to stop SpamD

Matt Kettler mkettler at EVI-INC.COM
Wed Oct 20 21:23:18 IST 2004

At 03:38 PM 10/20/2004, Sanjay K. Patel wrote:
>Does anyone have a quick command to stop SpamD. If I kill the spamD pid it
>just generates another.

I suspect you're ending up killing a spamd child, not the root process for

Killing the forked workers spamd makes won't stop spamd, as the root
process will just fork more. This applies to pretty much all forking
servers (sendmail, httpd, named, etc).

If you started spamd with the -r parameter, you can use the resulting
pidfile to know which process ID is the root one. (Most people that use
this put it in something like /var/run/spamd.pid)

Otherwise, you'll have to find the oldest spamd in your ps listings and
kill that, or use killall if your OS has it.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

More information about the MailScanner mailing list