Re: /usr/bin/sendmail - file or directory not found

Christian Franke <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Homer wrote:
> Hello,
>
> Hope I'm doing this right - first time I'm using a mailing list but I'm
> getting desperate! Searched for days on forums and searched the mailing
> list to no avail.
>
> I've setup smartmontools and I'm testing notifications. I've setup an
> alias in /etc/aliases for root [email protected]. When I restart the
> daemon after placing -M test on the devicescan line in smartd.conf I see
> the following in syslog:
> Dec  4 15:24:09 myhost smartd[28172]: /etc/smartmontools/run.d/10mail:
> Dec  4 15:24:09 myhost smartd[28172]: /usr/lib/sendmail: No such file or
> directory
> Dec  4 15:24:09 myhost smartd[28172]: . . . message not sent.
>
> A possible solution could obviously be to install sendmail, but I don't
> think I want that. 'mail -s "subject"[email protected]' from the
> terminal works beautifully through my postfix server without sendmail.

/usr/lib/sendmail is a symlink to /usr/sbin/sendmail. Both are part of 
the postfix package:
http://packages.debian.org/wheezy/amd64/postfix/filelist

AFAIK this sendmail emulates the original sendmail command line if 
postfix is installed.

Possible package conflict which results in the removal of 
/usr/lib/sendmail ?


> The 10mail script in /etc/smartmontools/run.d contains no reference to
> /usr/bin/sendmail, but simply /usr/bin/mail which is a symbolic link to
> heirloom-mailx.

Note that the run.d/10mail script is Debian specific.
You might want to report a bug to http://bugs.debian.org/smartmontools

Thanks,
Christian


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.