containers-postfix/monit.conf

6 lines
286 B
Plaintext

check process postfix with pidfile /var/spool/postfix/pid/master.pid
start program = "/usr/local/bin/postfixd start"
stop program = "/usr/local/bin/postfixd stop"
if 5 restarts within 8 cycles then alert
if failed port 25 protocol smtp for 3 times within 5 cycles then restart