[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: flash22@xxxxxxx
- Date: Wed Nov 7 11:29:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Wed, 7 Nov 2001, Sean Chester wrote:
> OK, 10,000 apologies for beeing way off topic here. (it is slightly
> to do with admin of cobalt raq)
>
> Im getting a few RELAY DENIED errors on my RaQ3.
>
> At the moment i type,
> cat /var/log/maillog | grep DENIED
>
> to see if there have been any mails denied today.
>
> Can someone make me a script that will do this for me at regular
> intervals? (and maybee send the results to email or html).
That is exactly what logcheck does :)
greps logs, if something shows up, mail it to you....programmable
http://www.psionic.com/abacus/logcheck
gsh