Scanning qmail LOGs ~ cronjob...

2001-03-13 Thread Jesse Sunday
Sort of off topic, I know... Someone please enlighten me as to how I would have a cron job scan my /var/log/maillog for a sting (or more) /usr/local/sbin/postfix check; egrep '(reject|warning|error|fatal|panic):' /var/log/maillog ^^ Is a cron job I have now... would it be similar???

Re: Scanning qmail LOGs ~ cronjob...

2001-03-13 Thread Jesse Sunday
Well I figured this out, does anyone have something cleaner??? cat /var/log/maillog | grep words | mail -s "yack" [EMAIL PROTECTED] Thanks!!! : : : Sort of off topic, I know... : : Someone please enlighten me as to how I would have a cron job scan my : /var/log/maillog for a sting (or

Re: Scanning qmail LOGs ~ cronjob...

2001-03-13 Thread Mike Jackson
Jesse Sunday wrote: Sort of off topic, I know... Someone please enlighten me as to how I would have a cron job scan my /var/log/maillog for a sting (or more) /usr/local/sbin/postfix check; egrep '(reject|warning|error|fatal|panic):' /var/log/maillog ^^ Is a cron job I have