d0a55a1962e03cb26dfe8efe6874093ee0d29ec0
[monit-cn.git] / monit-cn / dovecot.conf
1 # dovecot monit-cn template
2
3 check process dovecot with pidfile "/var/run/dovecot/master.pid"
4         group mail
5         start program = "/etc/init.d/dovecot start"
6         stop program = "/etc/init.d/dovecot stop"
7         if failed host 127.0.0.1 port 143 protocol imap
8                 then restart
9         if failed host 127.0.0.1 port 110 type tcp
10                 then restart