[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [OFF TOPIC] script to do cat /var/log/maillog | grep DENIED
- Subject: Re: [cobalt-users] [OFF TOPIC] script to do cat /var/log/maillog | grep DENIED
- From: cjcs@xxxxxxxxxxxxxxxx
- Date: Thu Nov 8 16:10:48 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hy Sean,
try the following :
#!/bin/sh
mail -s "Denied Access Attempts" sean.chester@xxxxxxxxxxxxxx <
cat /var/log/maillog | grep DENIED
and then put this into your crontab to let it run once daily or once a week.
I think this should work, but i've not tested it.
Greetings
Oliver
-----------------------------------------------------------
This mail sent through the IMP demo site: demo.horde.org
Find out more at http://www.horde.org/imp/