[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



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