LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-20-2005, 10:46 PM   #1
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
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.
 
Old 02-20-2005, 11:28 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
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

Last edited by Berhanie; 02-20-2005 at 11:29 PM.
 
Old 02-22-2005, 12:18 PM   #3
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-29-2004 12:33 AM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 10:21 AM
/usr/lib and /usr/local/lib doxxan Slackware 5 06-15-2004 01:58 AM
Cannot open /usr/share/sendmail-cf/m4/cf.m4 atomicx Linux - Networking 3 01-02-2004 10:44 AM
what should /usr/sbin/sendmail be chmoded to? ShawnD Linux - General 3 08-23-2002 01:57 PM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration