check process postfix with pidfile /var/spool/postfix/pid/master.pid group mail start program = "systemctl start postfix" stop program = "systemctl stop postfix" if failed port 25 protocol smtp then restart if 5 restarts within 5 cycles then timeout