Running some of the tests (e.g. "Testing Sendmail Manually" on page 71) described in this manual requires you to run the sendmail program manually. To do this you need to know the pathname of your sendmail command. On systems (such as Linux) that support the whereis command you can ask your system:
whereis sendmail
sendmail: /usr/sbin/sendmail /etc/sendmail.cf /etc/sendmail.cw
/etc/sendmail.mc /usr/lib/sendmail /usr/lib/sendmail.hf /usr/man/man8/sendmail.8
Note that this command will return all files related to sendmail. The first one is usually the executable file (/usr/sbin/sendmail in this case). You can verify that this file is sendmail by running the following command:
/usr/sbin/sendmail -bv postmaster
The proper response is something like:
root... deliverable: mailer local, user root
An error response that indicates that your pathname for sendmail is wrong would be something like:
/usr/sbin/sendmail: No such file or directory
If you do not have access to the whereis command you may have to go looking for sendmail the hardway, by using the ls command. Try the following commands to see which one(s) reveal sendmail's location on your machine:
ls -l /usr/bin/sendmail
ls -l /usr/sbin/sendmail
ls -l /usr/lib/sendmail
ls -l /etc/sendmail
ls -l /lib/sendmail
If you guess wrong your response will be similar to:
ls: /bin/sendmail: No such file or directory
If you have found it, ls will report something like:
-rwsr-sr-x 1 root root 299364 Apr 19 1999 /usr/sbin/sendmail
or perhaps:
lrwxrwxrwx 1 root root 39 Apr 10 1995 /usr/lib/sendmail -> /opt/K/SCO/SendMail/8.6.8g/lib/sendmail