-# amavisd monit-cn template
+## Begin - Generated by CARNet package monit-cn
+#
+# This is a monit-cn template file. REMOVE this whole comment block if
+# you DON'T WANT monit-cn to edit/remove/delete your configuration file.
+#
+## End - Generated by CARNet package monit-cn
check process amavisd with pidfile "/var/run/amavis/amavisd.pid"
- group mail
start program = "/etc/init.d/amavis start"
stop program = "/etc/init.d/amavis stop"
- if failed host 127.0.0.1 port 10024 protocol smtp
+ if failed host 127.0.0.1 port 10024 type tcp
then restart