Hi,

my check on postfix and the output in /var/log/maillog are below. I don't
expect some of the behaviour

a) monit appears to connect to postfix twice for each cycle

b) the sequence is connect, lost connection, disconnect, surely monit
connects and then disconnects so the lost connections are an error postfix
or monit



check process postfix with pidfile "/var/spool/postfix/pid/master.pid"
start program = "/etc/init.d/postfix start"
stop  program = "/etc/init.d/postfix stop"
if failed host localhost port 25 type tcp then restart


Nov 16 11:16:29 t227 postfix/smtpd[14595]: connect from
localhost.localdomain[127.0.0.1]
Nov 16 11:16:29 t227 postfix/smtpd[14595]: lost connection after CONNECT
from localhost.localdomain[127.0.0.1]
Nov 16 11:16:29 t227 postfix/smtpd[14595]: disconnect from
localhost.localdomain[127.0.0.1]
Nov 16 11:18:29 t227 postfix/smtpd[14704]: connect from
localhost.localdomain[127.0.0.1]
Nov 16 11:18:29 t227 postfix/smtpd[14704]: lost connection after CONNECT
from localhost.localdomain[127.0.0.1]
Nov 16 11:18:29 t227 postfix/smtpd[14704]: disconnect from
localhost.localdomain[127.0.0.1]

Nick Upson
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to