Re: [Logwatch] logwatch not sending emails to alternate email address
Mike Tremaine <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel,gmane.comp.log.logwatch.general |
|---|---|
| Message-ID | <[email protected]> |
Asrai khn wrote: > > > On Feb 13, 2008 8:42 PM, Bjorn L. <[email protected] > <mailto:[email protected]>> wrote: > > The MAILTO variable is set in /etc/crontab, for Fedora systems. > > There was a bug reported in Fedora about how MAILTO was handled in > Logwatch. Try getting the current logwatch.pl script from cvs, and see > if that solves the problem. > > > Thanks, > > Yes i have give it a try downloaded lastest logwatch.pl from cvs > repository, however it gives me error... > > /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. > > > regards. > > Looks at line 70 and add the missing paren if ($ENV{'MAILTO'}) { This has been fixed in CVS [bad commiter NO DONUT!] -Mike