logwatch broken after replacing sendmail with postfix

G H ghenry at cmi.univ-mrs.fr
Tue Jul 22 15:59:07 CEST 2014



On 07/22/2014 10:58 AM, Ben Walton wrote:
>
> On Jul 22, 2014 9:06 AM, "G H" <ghenry at cmi.univ-mrs.fr
> <mailto: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
> <http://logwatch.pl> ...
>
> We should still fix this in the package to use the canonical location
> for sendmail though.
>

thanks ben for your help. But as i said previousy, adding the link:
/usr/sbin/sendmail -> /opt/csw/sbin/sendmail
does the trick. IMHO, it's sufficient.

gerard


More information about the users mailing list