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

log rotation & parsing



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 makes any difference.

Any help is appreciated,
Brett



Reply to: