Re: [Logwatch] logwatch not sending emails to alternate email address

Mike Tremaine <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Mike Tremaine wrote:
> Asrai khn wrote:
>>
> 
> Under Fedora 8 to fix this issue the logwatch.pl script must be 
> modified. This should be reported back up to Fedora. Basically you need 
> to move the ENV kludge forward. Line 63 is about right and it should 
> look like this
> 
> #Honor ENV MAILTO as default if exists -mgt
> if ($ENV{'MAILTO'}) {
>      $Config{'mailto'} = $ENV{'MAILTO'};
> } else {
>      $Config{'mailto'} = "root";
> }
> 
> Then remove the other ENV setting at around line 362 just remove the 
> whole conditional.
> 
> After that it should work right. I'm going to fix what we have in CVS also.
> 
> -Mike
> 
>


DUH

revision 1.208
date: 2008/02/13 17:24:08;  author: mike;  state: Exp;  lines: +2 -2
Fixed missing paren -mgt
----------------------------
revision 1.207
date: 2008/01/17 00:19:29;  author: bjorn;  state: Exp;  lines: +8 -1
Check for existence of $ENV{'MAILTO'}, per Ivana Varekova.

Looks like someone [Bjorn] already added this fix :p [ok so I'm asleep 
at the wheel!] Thanks go out to Ivana for submitting this already.

Hopefuly Fedora will pick it up and fix it.

-Mike
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.