Could any one provide me the shell script to check the iptables status if its stopped mail should be send. Appreciate any response regarding scripts.