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???
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
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