logwatch broken after replacing sendmail with postfix

Ben Walton bwalton at opencsw.org
Thu Jul 31 09:15:39 CEST 2014


On Jul 22, 2014 2:59 PM, "G H" <ghenry at cmi.univ-mrs.fr> wrote:
>
>
>
> 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.

OK. I fixed logwatch anyway. Or should depend on the mailer package
(postfix or otherwise) placing a symlink in some non-standard location.

Thanks
-Ben

>
> gerard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20140731/cb5590b7/attachment-0001.html>


More information about the users mailing list