[Logwatch-Devel] [Logwatch] logwatch not sending emails to alternate email address

Mike Tremaine mgt at stellarcore.net
Wed Feb 13 10:25:07 MST 2008


Asrai khn wrote:
> 
> 
> On Feb 13, 2008 8:42 PM, Bjorn L. <bl_logwatch2 at mblmail.net 
> <mailto:bl_logwatch2 at mblmail.net>> 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


More information about the Logwatch-Devel mailing list