logwatch broken after replacing sendmail with postfix

Ben Walton bwalton at opencsw.org
Tue Jul 22 10:58:11 CEST 2014


On Jul 22, 2014 9:06 AM, "G H" <ghenry at cmi.univ-mrs.fr> wrote:
>
> i don't know, the script contains:
>          open(OUTFILE,"|$Config{'mailer'}") or die "Can't execute
$Config{'mailer'}: $!\n";
>

OK, so given the error message you pasted, it's relying on finding sendmail
in the path. Try executing PATH=$PATH:/use/lib logwatch.pl ...

We should still fix this in the package to use the canonical location for
sendmail though.

Thanks
-Ben

>
> for what i understand, it does not search sendmail in /usr/lib.
> On antoher solaris machine:
> gyptis # pkgchk -l -p /usr/sbin/sendmail
> Pathname: /usr/sbin/sendmail
> Type: symbolic link
> Source of link: ../lib/sendmail
> Referenced by the following packages:
>         SUNWsndmu
> Current status: installed
>
>
> thanks for your reply,
>
>
> On 07/22/2014 09:39 AM, Ben Walton wrote:
>>
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20140722/2d20d736/attachment.html>


More information about the users mailing list