Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.