During the installation of QMail (including QMT), there should have been
a symbolic link created for sendmail.
The command:
*ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail*
will re-create it, although I think they usually use relative links vs.
the static link here.
Essentially, all *nix mail systems have "hidden" dependencies on the
granddaddy of all mail programs: *sendmail*. In fact, if your program
sends mail and DOESN'T have such a "hidden" dependency, you've done
something wrong. :)
In the case of QMail (and postfix, and many others), the "sendmail"
program is nothing more than an interpreter that takes sendmail syntax
and makes it work in QMail (or postfix, or many others... you get the idea).
Your logwatch will be fine and happy if you execute the command above...
Dan McAllister
IT4SOHO
PS: I am curious -- I just (yesterday) did a "fresh install" on a VM for
QMT -- brand new! -- and the link was properly created as:
///# *ls -l `which sendmail`*//
// lrwxrwxrwx 1 root qmail 28 Jun 21 2013 /usr/sbin/sendmail ->
../../var/qmail/bin/sendmail//
////
/As I said previously, the "right" way to do the sym-link is relative
pathing, not absolute --
On 8/7/2014 12:21 AM, Chandran Manikandan wrote:
Hi Folks,
I have centos 6.5 64 bit server with installed qmailtoaster and it's
run successfully. When i tried to use this command logwatch to watch
the reports, it's show below error.
Can't exec "sendmail": No such file or directory at /usr/sbin/logwatch
line 1046, <TESTFILE> line 2.
Can't execute sendmail -t: No such file or directory
Could you anyone help me to rectify this issue. I tried to check above
file in that line. It is program file. so i did not touch. Thanks in
advance.
--
*Thanks,*
*Manikandan.C*
*System Administrator*
--
IT4SOHO, LLC
33 - 4th Street N, Suite 211
St. Petersburg, FL 33701-3806
CALL TOLL FREE:
877-IT4SOHO
877-484-7646 Phone
727-647-7646 Local
727-490-4394 Fax
We have support plans for QMail!