may be no /etc/mail/sendmail.cf so don't include that in the check for whether or not to run /usr/sbin/sendmail. Instead, check for the existence of /etc/mailer.conf. Pointed out by Theo.