Sendmail Problem

Posted on 2003-10-28
Medium Priority
Last Modified: 2013-12-16
I have slackware 9.1 with sendmail installed from source. I start the mail server but when I send mail an error ocured "Cannot exec /bin/mail: No such file or directory"
How can I solve this problem.

Question by:polinoma
LVL 18

Accepted Solution

liddler earned 252 total points
ID: 9632960
first find your mail program
find / -type f -name mail
then assuming /bin/mail doesn't exist, link it with.
ln -s /path/to/mail /bin/mail
This will create a symbolic link (a shortcut) from your mail program to /bin
If you do have a /bin/mail, do a
ls -l
to see its permissions

Assisted Solution

_tack earned 248 total points
ID: 9633520
the "mail" program is not part of sendmail, is in a separate archive normally mailx

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question