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 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???
:
: grep /var/log/maillog (words) | mail -s "Yack" [EMAIL PROTECTED]  ???  how
: would I do it???
:
:
: Thanks!!!
:
:
: Jesse
:
: PS I am not asking how to install cron jobs, just what string would I
use...
:

Reply via email to