How to restart a spamd on a cPanel server?

I am keeping this very simple,I checked the service Spamd is not available under “/etc/init.d/” directory. In a cPanel server, there is a script to manage the Spamd service.

How to check the status?

/scripts/restartsrv_spamd --status

How to restart it?

There are main two ways to restart spamd service.

The first way restarts spamd (aka spam assasin) itself:

/scripts/restartsrv_spamd

The second way is to restart the default mail server exim, which uses spam assassin. That can be done with:

/etc/rc.d/init.d/exim restart

That’s it.