Having trouble with my Sendmail service
My Sendmail service isn't sending mail. How can I check to see what the issue may be?
I would first check to see if the service is running. The following commands will assist with this:
sudo systemctl -l status sendmail
If the service isn't running, you can manually restart the service and verify that it's running afterwards:
sudo systemctl restart sendmail netstat -plant
If you still run into problems after giving these a try, I suggest checking through the log files of your server for further insight. Depending on how your service is configured, the log file may be the "maillog" file. For my personal server, this file resides under the "/var/log" directory.