[Mimedefang] Re: swatch script to email you when an error occurs.
Jeremy Mates
jmates at sial.org
Wed Feb 18 12:58:19 EST 2004
* Ole Craig <olc at cs.umass.edu>
> I think to be on the safe side, the script should also check to make
> sure it was able to send the alert mail correctly, and email you if it
> didn't... :-)
The swatch utility has a 'throttle' option, which should be used to
limit notifications. Your log reporting system could otherwise start a
Denial of Service attack, which might spiral out of control if the
errors generate more e-mail, and so forth.
# clamd problems reported by MIMEDefang
watchfor /: clamd error: |Could not connect to clam/
mail=root,subject=LW warn: clamd error
throttle 1:00:00,use=regex
More information about the MIMEDefang
mailing list