Having trouble with my Sendmail service

Linode Staff

My Sendmail service isn't sending mail. How can I check to see what the issue may be?

1 Reply

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


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct