5e8a1866bffb4a3ce0e1b436d592b8d092da6dc8
[monit-cn.git] / monit-cn / sendmail.conf
1 # sendmail monit-cn template
2
3 check process sendmail with pidfile "/var/run/sendmail.pid"
4         group mail
5         start program = "/etc/init.d/sendmail start"
6         stop program = "/etc/init.d/sendmail stop"
7         if failed host 127.0.0.1 port 25 protocol smtp
8                 then restart