Re: log rotation & parsing

2005-09-11 Thread Jules Dubois
On Sunday 11 September 2005 02:36, Brett <[EMAIL PROTECTED]> (<[EMAIL PROTECTED]>) wrote: > Greetings, > I wish, when the mail.log is rotated, that it is first grep'ed for the > string "reject" and the results of that grep to be mailed to a specific > user. man logrotate ? postrotate/endscri

log rotation & parsing

2005-09-11 Thread Brett
Greetings, I wish, when the mail.log is rotated, that it is first grep'ed for the string "reject" and the results of that grep to be mailed to a specific user. I have looked in /etc/logrotate.conf and /etc/logrotate.d/* but neither of these include the mail.log file. I am using postfix if it m