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

Re: Logrotate and mail



On Tue, 2006-03-14 at 17:41 -0500, Foote, Bruce (OFT) wrote:
> However, can I use mail to mail a log to a system user? That is, a
> user specified in /etc/passwd?' 

Yes, just send it to the username:  

$ cat /var/log/syslog | mail root

You might want to look at the logcheck package, if you just want reports
of important messages.

	bma

-- 
Benjamin A'Lee <http://benalee.co.uk/>
Technical Officer, TermiSoc <http://termisoc.org/



Reply to: