I am a college lecturer to whom the task of supporting the students' Linux Server has fallen. My students just need to use the mail command to communicate with me and each other. I thought mail would be there by default but it wasn't. I have tried all the advice I found on the Internet and tried to install mailutils, sendmail, mailx, exim4 and postfix. There were more but I can't remember them all now. After installing (if it works – some of them don't), when I try to send a message they all give me:
/usr/sbin/sendmail: file or directory not found.
I don't need anything fancy – we don't need to access remote email, just locally on our server.
Incidentally the same problems are occurring on the physical server and my test virtual machine, installed at different times but both Ubuntu 10.
Can anyone help me?
How to get the basic mail command in ubuntu 10 to work
Related Topic
- Linux – Error: Could not execute mail delivery program ‘/usr/sbin/sendmail’
- How to make Amazon SES the default method of sending mail from the server
- How Do I Troubleshoot Exim Mail Retry Issues
- Server being used to send spam mail. How to investigate
- Postfix/spamassassin incoming mail not being filtered, but outgoing is
- Mail Server Setup – Fix Port Issues (25, 587) on CentOS
Best Answer
I can recommend this tutorial:
http://www.notesbit.com/index.php/scripts-unix/sendmail-introduction-and-configuration-a-step-by-step-guide-for-those-of-you-configuring-your-first-e-mail-server/