Re: Logrotate and mail

2006-03-14 Thread Benjamin A'Lee
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

Re: Logrotate and mail

2006-03-14 Thread Foote, Bruce (OFT)
Sir, Back in 5/2002 you wrote a question on a listserve that went with out answer. It was as follows: 'I have a question regarding the use of logrotate. I rotate syslog, apache/error.log, and auth.log weekly. I would like to have the old logs e-mailed, then compressed. As such, I am using the '