[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: A few logwatch questions

You can have all root's mail sent to someone else by changing the
/etc/mail/aliases file and then running 'newaliases'.  At the bottom of
the file, you will see a line that says 

# Person who should get root's mail
root:           bacchi rpi edu

This will send ALL root mail to you, not just logwatch.

On Wed, 2005-10-19 at 08:40, Shane Presley wrote:
> Hello,
> logwatch runs nightly, and e-mails root. I would like it to email someone else.
> I saw in /etc/cron.daily/00-logwatch a statement:
> $Config{'mailto'} = "root";
> Is that where I would make the change?  There's no other config file?
> Also, on some of our Solaris servers we run an hourly script to report
> any "unknown" events in /var/adm/messages.  It checks it against an
> ignore list, and e-mails out any new log entries that aren't on the
> ignore list.  Can logwatch do that?
> Shane
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
veritatis simplex oratio est

Andrew Bacchi
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415  fax: 518 276-2809


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]