Script to check the qmail queue
Script to check the email available in the qmail queue.————————————————————————— Use this script to find the emails available in the qmail queue. #!/bin/bash mails=`/var/qmail/bin/qmail-qstat |grep “messages in queue:”|awk ‘{print $4}’` if [ $mails -gt 200 ]; then SUBJECT=”Please check mail queue in RM7″ EMAIL=”USER@domain.com” MESSAGE=”/tmp/message.txt” echo “Please Check mail queue… Continue Reading Script to check the qmail queue