containers-postfix/monit.conf

6 lines
286 B
Plaintext
Raw Normal View History

2019-09-10 23:23:06 +00:00
check process postfix with pidfile /var/spool/postfix/pid/master.pid
2022-03-09 16:18:48 +00:00
start program = "/usr/local/bin/postfixd start"
stop program = "/usr/local/bin/postfixd stop"
2019-09-10 23:23:06 +00:00
if 5 restarts within 8 cycles then alert
if failed port 25 protocol smtp for 3 times within 5 cycles then restart