I have a scirpt that will check to see how many messages are in postfix que and when over 25 messages the script will then send out a message, the problem is when amavis is down (usually the reason that the postfix que is growing) postfix will not send out the message saying the que is growing. Is it possible to send this message out with exim or some other way so the que is down the help message can go out. Here is the script not sure if I have the > than 25 messages part correct from when I can tell this should work. if echo `/utilities/checkque` > [25] then cat /home/jimb/amavis.not.alive | mail [email]user@domain.com[/email] fi Here is /utilites/checkque: cat /utilities/checkque postqueue -p |grep ^[0-9] |wc -l Jim --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss