[Logwatch] Problems with using captial letters for the mailer variable
cdelome at lus.org
Fri Aug 28 10:36:36 MST 2009
This is what I have in the logwatch.conf file
mailer = "/opt/CommuniGate/sendmail"
It still fails. Can I declare this in 0logwatch itself somewhere/somehow?
From: logwatch-bounces at public.kaybee.org [mailto:logwatch-bounces at public.kaybee.org] On Behalf Of Mike Tremaine
Sent: Friday, August 28, 2009 11:49 AM
To: Support; logwatch list
Subject: Re: [Logwatch] Problems with using captial letters for the mailer variable
> On Wed, 2009-08-26 at 16:11 -0500, Chance Delome wrote:
>> I’m trying to use a different sendmail program
>> It appears logwatch isn’t recognizing the capital letters in the
>> string. The error states:
>> [root at cgp-f0 cron.daily]# /etc/cron.daily/0logwatch
>> Can't exec "/opt/communigate/sendmail": No such file or directory
>> at /etc/cron.daily/0logwatch line 1012, <TESTFILE> line 3.
>> Can't execute /opt/communigate/sendmail: No such file or directory
>> Any idea on how correct this so the capital letters in “CommuniGate” are recognized?
> can you link /opt/communigate to /opt/CommuniGate?
> eg, "# ls -s /opt/CommuniGate /opt/communigate"
> It's a hack, I admit, but it gets you working until you find the root
> cause and fix that.
The logwatch script lower cases all variables passed to it UNLESS you
put double quotes around them so just add "/opt/CommuniGate"
Logwatch mailing list
Logwatch at logwatch.org
More information about the Logwatch