On 02/18/04 at 10:05, 'twas brillig and Lucas Albers scrobe:

> I am paranoid that my mail server will stop working, so I whipped up this
> little swatch script to notify me when mimedefang encounters an error,
> which might indicate it has stopped working.
> I could have it do a restart or similar, but for now I just have it email me.
> Someone posted c-code to do similar,but I'm a big fan of only using perl
> for my system administration code.
> Minor improvements, it could only notify you once or a maximum number of
> times when an error occurs, instead of everytime.

[...]

        You have a script that emails you to tell you that your email
swerver has stopped swerving?

        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... :-)

                Ole "bootstraps" Craig
-- 
Ole Craig * UNIX, linux, SMTP-ninja; news, web; SGI martyr * CS Computing
Facility, UMass * <www.cs.umass.edu/~olc/pgppubkey.txt> for public key

  Where are the missing deficit-reduction program-related activities?
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to