LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Nail looking for Sendmail in /usr/lib/sendmail (http://www.linuxquestions.org/questions/slackware-14/nail-looking-for-sendmail-in-usr-lib-sendmail-292775/)

Berhanie 02-20-2005 10:46 PM

Nail looking for Sendmail in /usr/lib/sendmail
 
I'm using Slackware 10.1. When I try to send mail using nail, I get this error message:
Code:

/usr/lib/sendmail: No such file or directory
. . . message not sent.

I was able to fix this by adding
Code:

set sendmail=/usr/sbin/sendmail
to /etc/nail.rc. I'm curious to know whether this is just something I'm experiencing because I didn't install Sendmail (I'm using Postfix instead), or if everyone else has the same problem.

Berhanie 02-20-2005 11:28 PM

I'm beginning to think that this is an oversight in 10.1. Looking in /usr/doc/nail-11.20/INSTALL, in the section describing the Makefile variables, one finds
Code:

SENDMAIL        Path to the de-facto standard /usr/lib/sendmail interface
                normally offered by Unix MTAs. If only SMTP is used to send
                mail, the value does not matter.

That is to say, if nail isn't compiled as "make SENDMAIL=/usr/sbin/sendmail", it would automatically look for Sendmail in /usr/lib/sendmail. The Slackbuild for Nail only has
Code:

make CFLAGS=-O2 PREFIX=/usr MANDIR=/usr/man MAILSPOOL=/var/spool/mail UCBINSTALL=/usr/bin/install
make install CFLAGS=-O2 PREFIX=/usr MANDIR=/usr/man MAILSPOOL=/var/spool/mail UCBINSTALL=/usr/bin/install DESTDIR=$PKG

No mention of SENDMAIL

Berhanie 02-22-2005 12:18 PM

Scratch that. I just did a full install of Slackware 10.1 on another machine and saw that it had a link /usr/lib/sendmail ->/usr/sbin/sendmail. Must be in the install script of one of the sendmail packages then.


All times are GMT -5. The time now is 06:46 PM.