Having trouble with my Sendmail service
Linode
Linode Staff
My Sendmail service isn't sending mail. How can I check to see what the issue may be?
1 Reply
jchism
Linode Staff
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.
less /var/log/maillog