[Logwatch] logwatch not sending emails to alternate email address

Asrai khn asraikhn at gmail.com
Wed Feb 13 10:18:52 MST 2008


On Feb 13, 2008 10:05 PM, Asrai khn <asraikhn at gmail.com> wrote:

>
>
> /etc/cron.hourly/0logwatch:
>
> syntax error at /etc/cron.hourly/0logwatch line 72, near "}"
>
> Execution of /etc/cron.hourly/0logwatch aborted due to compilation errors.
>
>
> Ok fixed it by adding ") "to

Old
if ($ENV{'MAILTO'} {
   $Config{'mailto'} = $ENV{'MAILTO'};

New
if ($ENV{'MAILTO'}) {
   $Config{'mailto'} = $ENV{'MAILTO'};



Will update you if it helps or not.

regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www2.list.logwatch.org:81/pipermail/logwatch/attachments/20080213/ae7a3471/attachment.html 


More information about the Logwatch mailing list