It would be easier to change the email address in logwatch.conf (/etc/logwatch/conf/logwatch.conf or /usr/share/logwatch/default.conf/logwatch.conf in Redhat systems, should be similar in other distros  ). Look for this entry;
MailTo = which most likely points to report@localhost.localdomain and point to your address. 

Mails for report are most likely not recieved by root and that is why changing aliases does not make difference. 






On Wed, May 19, 2010 at 1:03 PM, Simon Mbuthia <simon.mbuthia@gmail.com> wrote:
Ahem.... I'm sure some geek lurking somewhere on the list can advise on this....


I'll appreciate even a comment at least :)

On 17 May 2010 16:02, Simon Mbuthia <simon.mbuthia@gmail.com> wrote:
Hi guys,

More problems here. I have edited the alias file and assigned an email address to root, ran newaliases, but still logwatch is sending emails to report@localhost.localdomain - where localhost.localdomain is the FQDN of the box. I have not specified such an address anywhere. I have also set the SMART_HOST on sendmail.mc to my mail server [and it's working OK] and ran make -C /etc/mail and restarted the sendmail service [yes, I'm running sendmail as my default MTA].

What am I not doing right?


Me.


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke