How to restart cPanel spamd and reinstall SpamAssassin


Sometimes you will get notifications from cPanel whenever a service goes down. One of those that I find is the most common would be spamd. If you have notifications setup on your cPanel server for spamd you probably have gotten an email similar to this before:

Types of Errors

spamd failed @ DATE. A restart was attempted automagically. Cmd service check raw output: Spamd is not running

If you check the cPanel mail logs you should probably find something similar to this as well:

One thing I always try first is to restart the service, you can issue this SSH command to restart the spamd service:

If you have problems with locating that script I would browse the /scripts directory and see what is in there similar to this one. You can also use an editor to open the script file and that should give you more insight into exactly what it does. You can also supply the –status argument and you should see something similar to this:

Reinstall SpamAssasin

I have had instances where I would get errors when trying to restart it, and reinstalling SpamAssassin helped out.

Force cPanel Update

You can also try forcing cPanel to update to the latest version:


Orlando, FL

Did this post help you?

Give back and rate it for me!

Related Posts

  • Andrew_@

    Thanks mate, works perfectly