Files
server/opt/psa/var/modules/watchdog/etc/service.tpl.d/postfix
2026-01-07 20:52:11 +01:00

18 lines
767 B
Plaintext

### Copyright 1999-2026. WebPros International GmbH. All rights reserved.
# Postfix
check process postfix with pidfile /var/spool/postfix/pid/master.pid
start = "<postfix_start>"
stop = "<postfix_stop>"
if <postfix_timeout_restarts> restarts within <postfix_timeout_cycles> cycles then timeout
every <postfix_cycles> cycles
mode <postfix_mode>
# Postfix milter filter (pc-remote)
check host pc_remote with address 127.0.0.1
start = "<pc_remote_start>"
stop = "<pc_remote_stop>"
if failed port 12768 type tcp with timeout <pc_remote_connection_timeout> seconds then restart
if <pc_remote_timeout_restarts> restarts within <pc_remote_timeout_cycles> cycles then timeout
every <pc_remote_cycles> cycles
mode <pc_remote_mode>