How to restart mail services?
Restart with WHM
- Firstly, login to WHM.
- Then, type “restart” in the top left search bar.
- Click on “Mail Server (Exim)” link.
- Lastly, click Yes to restart.
- Wait for the restart to complete. Then, follow the same procedure to restart the IMAP Server (Courier/Dovecot) service.
Restart through Commands
Type in the line below after you are remotely in the server.
/scripts/restartsrv service
(replace service with the name of the service: exim, named, proftpd, httpd, etc.)
You can also restart mail services through the system. It depends on the OS you are using as to where the files are located. Many distributions are located in /etc/rc.d/init.d/
To restart this way you can use:
/etc/rc.d/init.d/service
(replace service with the name of the service: exim, named, proftpd, httpd, etc)
You can use the following command to list all the services that can be restarted by the system:
cat /etc/rc.d/init.d/
If the service fails after restarting, you should check the error log. For example, to check Apache’s error log, use:
tail /usr/local/apache/logs/error_log
Read more on How to Login to Strongbolt Private Email.