--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulab/mail/count_delivery.sh Thu Apr 21 14:57:45 2011 +0100
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+F=/tmp/delivery_count
+
+if [ ! -f $F ] ; then
+ echo "1" > $F
+else
+ i=`cat $F`
+ i=$(($i+1))
+ echo $i > $F
+fi