>
> On Wed, 2010-12-22 at 10:25 -0600, Les Mikesell wrote:
>
>> If you are running the default sendmail, put an alias for root in
>> /etc/aliases and restart sendmail or run 'newaliases'.
>
>
> Or you can edit
>
>       /etc/share/logwatch/scripts/logwatch.pl
>
> and change line 64
>
>       $Config{'mailto'} = "root";

The upside is that this works for logwatch.

The downside is that this *only* works for logwatch.

Aside from the aliases which were previously mentioned, it's just as
simple to create /root/.forward, which would then include an entry for the
email address to which want the email to be sent.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscr...@bubbanfriends.org
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to