--- munin-1.1.7.orig/node/node.d/sendmail_mailtraffic.in	Sun Nov 21 21:27:53 2004
+++ munin-1.1.7/node/node.d/sendmail_mailtraffic.in	Sun Nov 28 10:50:45 2004
@@ -26,7 +26,7 @@
 TEMP_FILE=/tmp/munin-sendmail.$$
 
 if [ "$1" = "autoconf" ]; then
-	if [ -f ${TEMP_FILE} ] ; then
+	if which mailstats 2>&1 > /dev/null ; then
 		echo yes
 		exit 0
 	else
