this is an expansion of my question: Linux mail command not working like it used to which I would considered answered but I need a little more clarification.
In my previous question I learned that the "mail" command is really an alias or link to a configured mail program. So I'm trying to get it to send mail through sendmail, which I have re-installed on my server but I'm not sure how to do this. When I run the command:
sudo update-alternatives --config mail
It responds with:
update-alternatives: error: no alternatives for mail.
How can I add sendmail to the alternatives? Thanks in advance for you help.