script to check qmail -qstat

guys

can a shell script be written to check the qmail-qstat of a server so that if the mails in que are >x it should send the system administrator a email message

thanks

 

 

 

 

Top