[Logwatch] logwatch not sending emails to alternate email address

Asrai khn asraikhn at gmail.com
Wed Feb 13 10:37:09 MST 2008


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

> 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.
>
>
Still no luck even using the  latest  logwatch.pl from  cvs,  it  still
sending email to only 'root' when running from cron and not reading MailTo
from /etc/logwatch/conf/logwatch.conf

here ppl complaining about it see ..

https://bugzilla.redhat.com/show_bug.cgi?id=427596#c6

btw we can't downgrade to old version of logwatch on all our hosts (as one
of the  guy got fixed teh problem after he downgraded teh logwatch version)

downgrading mean have to exclude logwatch from yum update process which is
hell of work while doing it for 40+ hosts.

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


More information about the Logwatch mailing list