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