check process sendmail with pidfile /var/run/sendmail.pid start program = "/etc/init.d/sendmail start" stop program = "/etc/init.d/sendmail stop" if failed port 25 protocol smtp then restart if 5 restarts within 5 cycles then timeout group services check file virtusertable with path "/etc/mail/virtusertable" if changed timestamp then exec "/sbin/service sendmail restart" group services