Red Hat Bugzilla – Bug 450494
MailTo configuration parameter is ignored
Last modified: 2008-06-11 19:33:35 EDT
Description of problem:
When you set MailTo in logwatch.conf it's ignored. Environment MAILTO variable
is used instead. When you set command line param it's ok, but cron runs
logwatch.pl script with MAILTO set and without command line params (via
run-parts), which causes logwatch to ignore it's own config parameter.
This behavior is different than f8 version of logwatch.
Version-Release number of selected component (if applicable):
Always. Just run logwatch.pl with MAILTO env set to any email address you want.
Steps to Reproduce:
1. export MAILTO=root@localhost
report sent to root@localhost, regardless what's in config file.
It should be sent to email address configured in config file as MailTo variable
logwatch-7.3.6-22.fc9 has been submitted as an update for Fedora 9
logwatch-7.3.6-22.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update logwatch'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5210
logwatch-7.3.6-22.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.