<p dir="ltr"><br>
On Jul 22, 2014 8:15 AM, "G H" <<a href="mailto:ghenry@cmi.univ-mrs.fr">ghenry@cmi.univ-mrs.fr</a>> wrote:<br>
><br>
> hello all,<br>
> on sparc S10, i got this error:<br>
> Can't exec "sendmail": No such file or directory at /opt/csw/bin/<a href="http://logwatch.pl">logwatch.pl</a> line 1017, <TESTFILE> line 3.<br>
> Can't execute sendmail -t: No such file or directory<br>
><br>
> CSWpostfix-2.9.4,REV=2012.09.19 is installed, and i removed SUNWsndmr SUNWsndmu, as stated in /opt/csw/share/doc/postfix/README.CSW. The links are ok:<br>
> fury # ls -l /usr/lib/sendmail /usr/sbin/newaliases /usr/bin/mailq<br>
> lrwxrwxrwx 1 root root 18 Jul 21 14:50 /usr/bin/mailq -> /opt/csw/bin/mailq<br>
> lrwxrwxrwx 1 root root 22 Jul 21 14:50 /usr/lib/sendmail -> /opt/csw/sbin/sendmail<br>
> lrwxrwxrwx 1 root root 23 Jul 21 14:50 /usr/sbin/newaliases -> /opt/csw/bin/newaliases<br>
><br>
> does it mean that it just lacks the link:<br>
> /usr/sbin/sendmail -> /opt/csw/sbin/sendmail</p>
<p dir="ltr">What is logwatch trying to execute? Is it some /opt/csw path or some other path that isn't /use/lib/send mail? If it is trying to explicitly execute /use/sbin/send mail, that is a bug we should definitely fix.</p>
<p dir="ltr">From the error message, it sounds like it is simply executing sendmail and relying on path to find it.</p>
<p dir="ltr">If the latter is happening, we should force it to use /use/lib/sendmail explicitly (and likely make it a configure time option which is submitted upstream).</p>
<p dir="ltr">I haven't actually looked at this so I could be way off...</p>
<p dir="ltr">Thanks<br>
-Ben</p>
<p dir="ltr">><br>
> thanks,<br>
><br>
> gerard<br>
</p>