From 69aec538b456402170dc723af417ba5c05389c32 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 4 Feb 2013 00:08:53 +0100 Subject: qmail 1.03 import --- qmail-qstat.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 qmail-qstat.sh (limited to 'qmail-qstat.sh') diff --git a/qmail-qstat.sh b/qmail-qstat.sh new file mode 100644 index 0000000..26a6d3f --- /dev/null +++ b/qmail-qstat.sh @@ -0,0 +1,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` -- cgit v1.2.3