summaryrefslogtreecommitdiff
path: root/qmail-qstat.sh
blob: 26a6d3f34f0f588fd57e7be2b156a0a86e1f97b0 (plain)
1
2
3
4
5
6
7
cd QMAIL
messdirs=`echo queue/mess/* | wc -w`
messfiles=`find queue/mess/* -print | wc -w`
tododirs=`echo queue/todo | wc -w`
todofiles=`find queue/todo -print | wc -w`
echo messages in queue: `expr $messfiles - $messdirs`
echo messages in queue but not yet preprocessed: `expr $todofiles - $tododirs`