This morning I had a server’s mail log flooded with the following error:
sm-mta[71024]: STARTTLS: read error=generic SSL error (0)
My googling attempts suggested that I reconfigure sendmail to not show that error. That doesn’t take care of the problem, just hides it. Then I stumbled on to this site STARTTLS: read error=generic SSL error (0) which explains how to fix the issue.
Apparently, the errors are caused by an errant sendmail process. Just kill the process and all will resume back to normal.
kill -9 71024
As pointed out in the article, this process can not be killed by a sendmail restart, as I found out.