From: Dinko Korunic Date: Wed, 2 Apr 2008 15:01:49 +0000 (+0200) Subject: - amavis template: type tcp umjesto proto smtp, s obzirom da postoji X-Git-Tag: v4.10.1-3~12 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=01c4cba5a887c7f6c52109d47355bd593fc66b60;p=monit-cn.git - amavis template: type tcp umjesto proto smtp, s obzirom da postoji ogranicenje za istovremenu komunikaciju, pa ovisno o opterecenju posluzitelja baci bespotrebni fail i uzrokuje restart servisa --- diff --git a/monit-cn/amavisd.conf b/monit-cn/amavisd.conf index bc61812..a73f469 100644 --- a/monit-cn/amavisd.conf +++ b/monit-cn/amavisd.conf @@ -9,5 +9,5 @@ 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